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 attrName
string The attribute name that has changed
oldValue
string The old attribute value
newValue
string The new attribute value
-
render(val)
-
Renders the <pf-template> using PFTemplateRepeater
Parameters:
Name Type Description val
string The json content