UNPKG

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.

20 lines (19 loc) 609 B
/// <reference path="../globals.d.ts" /> import type DOMNodeReference from "./DOMNodeReference.d.ts"; export default class ValueManager { value: any; checked: true | false; element: HTMLElement | null; private noRadio; private yesRadio; radioParent?: DOMNodeReference | undefined; private isRadio; private radioType; constructor(instance: DOMNodeReference); setValue(value: any): void; updateValue(e?: Event): Promise<void>; getElementValue(): Promise<ElementValue>; protected _validateValue(value: any): any; clearValue(): void; destroy(): void; }