new PFTemplateRepeater()
Properties:
| Name | Type | Description |
|---|---|---|
content |
string | the json stringified content |
Example
<pf-template-repeater id="example1-content" content='[{"name": "Big Bird", "address": "1 Seaseme Street"}]'>
Methods
-
attributeChangedCallback(attrName, oldValue, newValue)
-
Called when element's attribute value has changed
Parameters:
Name Type Description attrNamestring The attribute name that has changed
oldValuestring The old attribute value
newValuestring The new attribute value
-
render(val)
-
Renders the <pf-template> using PFTemplateRepeater
Parameters:
Name Type Description valstring The json content