How can I get the model for some element in iron-list
? The documentation suggests:
($['list'] as IronList).modelForElement(target).index
but modelForElement()
returns TemplateInstance
which doesn't contain index
field.
You should be able to use the get
method on the TemplateInstance
to read any values.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments