ish.ui

Collection of UI-based functionality.

Source:

Methods

[client] ish.ui.clearSelection()

Source:
Clears any page selection(s) from the browser.
Client-Side Only: This functionality is only available under a browser (Firefox, Chrome, etc.).

[client] ish.ui.scrollTo(vElement, bSetHashopt) → {boolean}

Source:
See:
Scrolls the browser's viewpoint to the passed DOM element.
Client-Side Only: This functionality is only available under a browser (Firefox, Chrome, etc.).
Parameters:
Name Type Attributes Default Description
vElement element Value to scroll the browser's viewpoint to.
bSetHash boolean <optional>
false Value representing if the document.location.hash is to be set.
Returns:
Type Description
boolean Value representing if the passed value is a valid DOM element.