Copyright © 2021 by K4.org
  (v.0.48.124)

The base Design for a ContextMenu.

Index

Rules

__model

__model: String

Internal Use Only.

Flags : Cached, External, Update (Note this is uncached)

Expression : (this.container && (this.container.__model !== R.nullHandle)) ? R.UI.makeMenu(Object.assign({}, this.spec, this.customSpec)) : R.nullHandle

items

items: Any

Internal Use Only. Collects the specs from any MenuItem children.

Flags : Cached (Note this is uncached)

Expression : this.realChildren.filter(c => c.isKindOf('UIMenuItemMixin')).sort((a,b)=>a.sequenceNo-b.sequenceNo).map(c => c.spec)

spec

spec: Any

Internal Use Only.

Flags : Cached (Note this is uncached)

Expression : {name: this.refChain, type: "ContextMenu", controlSpec: { container: this.container }, items: this.items }

specOut

specOut: Any

Internal Use Only.

Flags : Cached (Note this is uncached)

Expression : R.UI.processMenuSpec(this.spec)