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

Defines behavior of menu items.

Index

Rules

caption

caption: String

no doc

Flags : Cached, Parameter (Note this is uncached)

Expression : ""

captionLocation

captionLocation: String

The location of the caption, if image URL is specified. Can be bottom (default), top, left and right.

Flags : Cached, Parameter (Note this is uncached)

Expression : "bottom"

extraSpec

extraSpec: Any

no doc

Flags : Cached (Note this is uncached)

Expression : {}

height

height: String

The height of the image. If omitted, the image height will be used, respecting the the image aspect ratio.

Flags : Cached, Parameter (Note this is uncached)

Expression : ""

icon

icon: String

The class name of the FontAwesome 4.7 or PrimeIcons 4.1.0 icon. For example, 'pi pi-plus' for the plus sign. See more details: https://fontawesome.com/v4/icons/, https://github.com/primefaces/primeicons

Flags : Cached, Parameter (Note this is uncached)

Expression : ""

itemType

itemType: String

Internal Use Only. Must be defined in the actual menu items. The type of this menu item. One of: default (by default, menu group or separator), action, checkbox, or image.

Flags : Cached (Note this is uncached)

Expression : "default"

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)

separator

separator: Boolean

Whether this item includes a separator

Flags : Cached, Parameter (Note this is uncached)

Expression : false

sequenceNo

sequenceNo: Number

The sequence number of this control, for tab-order.

Flags : Cached, Parameter (Note this is uncached)

Expression : 0

spec

spec: Any

Internal Use Only.

Flags : Cached (Note this is uncached)

Expression : { sequenceNo: this.sequenceNo, caption: this.caption, tooltip: this.tooltip, icon: this.icon, separator: this.separator, itemType: this.itemType, items: this.items, url: this.url, width: this.width, height: this.height, captionLocation: this.captionLocation, ...this.extraSpec }

specOut

specOut: Any

Internal Use Only.

Flags : Cached (Note this is uncached)

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

tooltip

tooltip: String

The text which appears when the cursor hovers over the button.

Flags : Cached, Parameter (Note this is uncached)

Expression : ""

url

url: String

The URL for the image.

Flags : Cached, Parameter (Note this is uncached)

Expression : ""

width

width: String

The width of the image. If omitted, the image width will be used, respecting the the image aspect ratio.

Flags : Cached, Parameter (Note this is uncached)

Expression : ""