Files
polymer/test/unit/utils-elements.html
Steven Orvell b40060ae98 Merge branch 'master' into effective-children
Conflicts:
	test/unit/utils-content.html
	test/unit/utils-elements.html
2015-10-07 18:23:14 -07:00

77 lines
1.5 KiB
HTML

<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<link rel="import" href="../../polymer.html">
<dom-module id="x-content">
<template>
<content></content>
</template>
<script>
Polymer({
is: 'x-content'
});
</script>
</dom-module>
<dom-module id="x-content-multi">
<template>
<content select="div"></content>
<content select="span"></content>
</template>
<script>
Polymer({
is: 'x-content-multi'
});
</script>
</dom-module>
<dom-module id="x-compose">
<template>
<x-content id="content">
<div class="a">a</div>
<content select=".b"></content>
<div class="c">c</div>
<content></content>
<div class="e">e</div>
</x-content>
</template>
<script>
Polymer({
is: 'x-compose'
});
</script>
</dom-module>
<dom-module id="x-content-mixed">
<template>
<content></content>
<x-content id="localChild"></x-content>
</template>
</dom-module>
<script>
Polymer({
is: 'x-content-mixed',
get localChild () {
return this.$.localChild;
}
});
</script>