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.
26 lines (25 loc) • 919 B
TypeScript
/// <reference path="../globals.d.ts" />
/**
*
* @param {string} titleString The text to display in the tooltip flyout content
* @param iconStyle Optional CSS styles to apply to the info icon
* @returns
*/
/********/ /********/ export default class InfoElement extends HTMLElement {
private flyoutContent;
private icon;
private observers;
/********/ constructor(titleString: string, iconStyle?: Partial<CSSStyleDeclaration>);
/********/ private attachEventListeners;
/********/ private setupObservers;
/********/ private getDesiredWidth;
/********/ private positionFlyout;
/********/ private updateFlyoutWidth;
/********/ private handleClick;
/********/ private handleResize;
/********/ private handleTouchStart;
/********/ private handleMouseEnter;
/********/ private handleMouseLeave;
/********/ private handleScroll;
/********/ private destroy;
}