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

This Design provides the basic parameters for all controls.

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.makeWidget(Object.assign({}, this.spec, this.customSpec)) : R.nullHandle

alignment

alignment: String

The alignment of the control.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : ""

container

container: Any

The 'parent' container of this control.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : this.nha.isKindOf("UIContainerMixin") ? this.nha : undefined

controlSpec

controlSpec: Any

Internal Use Only.

Flags : Cached, Spec (Note this is uncached)

Expression : R.collectPartialSpec(this, [this.style])

controlType

controlType: String

Internal Use Only. Must be overridden.

Flags : Cached (Note this is uncached)

Expression : R.error(No controlType in ${this.designName})

customSpec

customSpec: Any

This object allows adding non-parameter attributes to the control.

Flags : Cached, Parameter (Note this is uncached)

Expression : {}

enabled

enabled: Boolean

Whether the control is enabled.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : true

height

height: String

The height of the control. One of "auto" (lets system decide), "fill" (fill the space remaining), "full" (extend to full height of parent) or numeric value followed by a unit specifier. Unit specifiers are "%" (percent of parent control height), "px" (pixels), "vh" (browser window height) or "vw" (browser window width).

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : "auto"

example

"100px", "10%", "20vh".

sequenceNo

sequenceNo: Number

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

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : 0

spec

spec: Any

Internal Use Only.

Flags : Cached (Note this is uncached)

Expression : Object.assign({ name: this.refChain, type: this.controlType }, R.collectSpecs(this, [ this.style, this.controlSpec ]))

visibility

visibility: String

One of "visible", "hidden", or "collapsed". The visibility of the control.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : "visible"

width

width: String

The width of the control. One of "auto" (lets system decide), "fill" (fill the space remaining), "full" (extend to full width of parent) or numeric value followed by a unit specifier. Unit specifiers are "%" (percent of parent control width), "px" (pixels), "vh" (browser window height) or "vw" (browser window width).

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : "auto"

example

"100px", "10%", "25vw".