This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="../../../ShadowDOM/shadowdom.js"></script> | |
<style> | |
.transformy { | |
-webkit-transition: -webkit-transform 1s; | |
background: beige; | |
} | |
.flipped { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Polyfill-Transition</title> | |
<script src="../../../ShadowDOM/shadowdom.js"></script> | |
<style> | |
.transition { | |
-webkit-transition: -webkit-transform 1s; | |
background: beige; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../../polymer/polymer.js"></script> | |
</head> | |
<body> | |
<template id="host-template"> | |
<div>host shadowRoot</div> | |
<content></content> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../../polymer/polymer.js"></script> | |
</head> | |
<body> | |
<x-host> | |
<x-inner-host></x-inner-host> | |
</x-host> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../../ShadowDOM/shadowdom.js"></script> | |
<script src="../../../MutationObservers/MutationObserver.js"></script> | |
</head> | |
<body> | |
<x-host></x-host> | |
<script> | |
function makeSR(scope, selector, html) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- <script src="http://polymer-project.org/polymer.min.js"></script> --> | |
<script src="../../../polymer/polymer.js"></script> | |
<template> | |
<h1>Foo</h1> | |
<div> <div><content></content></div></div> | |
</template> | |
<template id="two"> | |
<h1>Bar</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>bind simple</title> | |
<script src="../../../polymer/polymer.js"></script> | |
</head> | |
<body> | |
<x-foo width="100"></x-foo> | |
<x-foo width="200"></x-foo> | |
<polymer-element name="x-foo" attributes="width"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="../../polymer/polymer.js"></script> | |
</head> | |
<body> | |
<polymer-element name="x-test"> | |
<template> | |
<style> | |
@host { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../polymer/polymer.js"></script> | |
<link rel="import" href="polymer-animation-group.html"> | |
</head> | |
<body> | |
<polymer-element name="transition-hslide-scale-out" extends="polymer-animation-group" noscript> | |
<template> | |
<polymer-animation id="scale-out" duration="0.5"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<polymer-element name="x-peeps" attributes="people"> | |
<template> | |
<div id="bio"></div> | |
</template> | |
<script> | |
Polymer('x-peeps', { | |
peopleChanged: function() { | |
this.$.bio.innerHTML = this.people; | |
} | |
}); |
OlderNewer