API Docs for: 1.4.4
Show:

ugsEditorPlus.submenuUi Class

Wires up all the "pseudo-selects" (aka "dropdownlists") on a Tooltip-Dialog boxes on the page; assumes consistent HTML (hello, jQuery) TODO: Refactor -- quite brittle!

Methods

closeAll

(
  • e
)

user clicked off the current dialog -- close 'em all

Parameters:

  • e Event

doCollapseAllLists

(
  • e
)

Parameters:

  • e Event

Returns:

bool

getLabelText

(
  • action
  • value
  • $ele
)
String

Builds a descriptor string of the current values for the pseudo-select labels

Parameters:

  • action String
  • value String
  • $ele JQueryElement

    jQuery element that ...

Returns:

String:

init

() type public

attaches event handlers

Returns:

type:

[description]

onLabelClick

(
  • e
)
Bool

Label has been clicked, show associated options dialog box. Watch for 2-clicks on same label (should hide on second click)

Parameters:

  • e Event

Returns:

Bool:

false to kill event bubbling

onListActive

(
  • ele
  • isInUse
)

trying prevent the options not being set from being too distractive -- (trying and clearly failing)

Parameters:

  • ele DOM-elemnt

    [description]

  • isInUse Boolean

    [description]

Returns:

void

onOptionClick

(
  • e
)
Bool

a list item has been clicked

Parameters:

  • e Event

Returns:

Bool:

false to kill event bubbling

Properties

_descriptions

JSON private

used to construct the descriptions for current values

_public

JsonObject

attach public members to this object