The PacemFxListElement
aims to gap the distance between CSS and JavaScript: there are many scenarios (involving nth-child
, nth-last-child
, ... selectors)
that are impossible to manage using a CSS-only approach.
This simple webcomponent allows the developer to inject logic on newly added item-elements,
on both static and dynamic lists:
["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P"]
The result above could have been obtained also by intercepting the
PacemRepeaterElement
'sRepeaterItemCreatedEvent
event.