powerpagestoolkit
Version:
Reference, manipulate, and engage with Power Pages sites through the nodes in the DOM; use a variety of custom methods that allow customizing your power pages site quicker and easier.
22 lines (21 loc) • 515 B
TypeScript
/// <reference path="../globals.d.ts" />
/**
* @experimental
*/
export default class List {
private static _instance;
private _root;
private _listItems;
private _observer;
private constructor();
static get(): List;
private _observe;
private _update;
private _destroy;
/**
* @iterator
* @param modifier The function to apply to each list item
* @returns Instance for method chaining
*/
modifyListItems(modifier: (listItem: Element) => void): List;
}