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.
13 lines (12 loc) • 377 B
TypeScript
/// <reference path="../globals.d.ts" />
export default class VisibilityManager {
private visibilityController;
private defaultVisibility;
set defaultDisplay(newValue: string | null);
constructor(target: HTMLElement);
hide(): void;
show(): void;
toggleVisibility(shouldShow: boolean): void;
getVisibility(): true | false;
destroy(): void;
}