Static
elementOpens an error
or notify
tooltip on an HTML element with default settings.
For additional settings see IxTooltipSettings.
Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
alignment: AlignmentsElementOptional
settings: Partial<IxTooltipSettings>Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
alignment: AlignmentsElementOptional
settings: Partial<IxTooltipSettings>// Get the HTML element to display the tooltip on.
var htmlTarget = ix.api.dom.getHtml("<ELEMENT-GUID>");
// Open + close an error tooltip on the specified HTML element with the provided content and headline.
Notifier.element.error(htmlTarget, "Content", "Title", "KeyError");
Notifier.element.close("KeyError");
// Open + close a notify tooltip on the specified HTML element with the provided content and headline.
Notifier.element.notify(htmlTarget, "Content", "Title", "KeyNotify");
Notifier.element.close("KeyNotify");
Static
modalOpens a notify or system tooltip modal with default settings.
For additional settings see IxTooltipSettings.
Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
settings: Partial<IxTooltipSettings>Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
settings: Partial<IxTooltipSettings>// Open + close a notify modal with the provided content and headline.
Notifier.modal.notify("Content", "Title", "KeyNotify");
Notifier.modal.close("KeyNotify");
// Open + close a system modal with the provided content and headline.
Notifier.modal.system("Content", "Title", "KeySystem");
Notifier.modal.close("KeySystem");
Static
mouseOpens a notify tooltip at the current mouse position with default settings.
For additional settings see IxTooltipSettings.
Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
settings: Partial<IxTooltipSettings>// Open + close a tooltip at the current mouse position with the provided content and headline.
Notifier.mouse.notify("Content", "Title", "Key");
Notifier.mouse.close("Key");
Static
statusOpens an error
, info
, notify
or warn
tooltip with default settings.
For additional settings see IxTooltipSettings.
Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
settings: Partial<IxTooltipSettings>Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
settings: Partial<IxTooltipSettings>Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
settings: Partial<IxTooltipSettings>Optional
content: string | HTMLElement | JQuery<HTMLElement> | HTMLElement[]Optional
title: string | booleanOptional
key: stringOptional
settings: Partial<IxTooltipSettings>// Open + close an error tooltip with the provided content and headline.
Notifier.status.error("Content", "Title", "KeyError");
Notifier.status.close("KeyError");
// Open + close an info tooltip with the provided content and headline.
Notifier.status.info("Content", "Title", "KeyInfo");
Notifier.status.close("KeyInfo");
// Open + close a notify tooltip with the provided content and headline.
Notifier.status.notify("Content", "Title", "KeyNotify");
Notifier.status.close("KeyNotify");
// Open + close a warn tooltip with the provided content and headline.
Notifier.status.warn("Content", "Title", "KeyWarn");
Notifier.status.close("KeyWarn");
Notifiers in Intrexx provide pre-built methods for displaying customized tooltips in various scenarios.
You can open notifiers at different positions:
To call a notifier, use the syntax:
Notifier.[position].[function(param1, ...)];
Example
Open a notifier at different positions
Example
When opening a notifier with the
key
parameter, you can use the same key to close the notifier.Example
Open a notifier with custom settings IxTooltipSettings