mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
12 lines
228 B
HTML
12 lines
228 B
HTML
<script>
|
|
Polymer({
|
|
is: 'x-needs-host',
|
|
ready: function() {
|
|
if (!this.dataHost) {
|
|
throw "No dataHost at ready time";
|
|
}
|
|
this.config = this.dataHost.getAttribute('config');
|
|
}
|
|
});
|
|
</script>
|