Class: PFTemplateRepeater

PFTemplateRepeater

<pf-template-repeater> element for Patternfly Web Components

This is a fork of a template-repeater: http://github.com/Nevraeka/template-repeater


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