mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update cards
This commit is contained in:
parent
1b57622dd0
commit
663564f766
12 changed files with 133 additions and 65 deletions
|
@ -33,17 +33,17 @@ attributes or use child nodes to define additional metadata.
|
|||
Now I can access that element (and it's metadata) from any iron-meta instance
|
||||
via the byKey method, e.g.
|
||||
|
||||
meta.byKey('info').getAttribute('value');
|
||||
meta.byKey('info');
|
||||
|
||||
Pure imperative form would be like:
|
||||
|
||||
document.createElement('iron-meta').byKey('info').getAttribute('value');
|
||||
document.createElement('iron-meta').byKey('info');
|
||||
|
||||
Or, in a Polymer element, you can include a meta in your template:
|
||||
|
||||
<iron-meta id="meta"></iron-meta>
|
||||
...
|
||||
this.$.meta.byKey('info').getAttribute('value');
|
||||
this.$.meta.byKey('info');
|
||||
|
||||
@group Iron Elements
|
||||
@demo demo/index.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue