mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
test statics (active) and dynamics (src)
This commit is contained in:
@@ -12,5 +12,12 @@ license that can be found in the LICENSE file.
|
||||
</head>
|
||||
<body>
|
||||
<g-icon-button src="images/star_full.svg"></g-icon-button>
|
||||
<g-icon-button active="true" src="images/star_full.svg"></g-icon-button>
|
||||
<g-icon-button id="dyn"></g-icon-button>
|
||||
<script>
|
||||
window.addEventListener("WebComponentsReady", function() {
|
||||
document.querySelector("#dyn").src = "images/star_full.svg";
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user