Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NumberControlAPLProps

Props associated with the APL produced by NumberControl.

Hierarchy

  • NumberControlAPLProps

Properties

Optional enabled

enabled: boolean | function

Determines if APL should be produced.

Default: true

Optional renderComponent

renderComponent: AplRenderComponentFunc

Determines the APL Component rendering mode.

Usage:

1) Use pre-defined built-ins under ListControlComponentAPLBuiltIns.* namespace which provides both default implementations and customization of props(NumberControlAPLComponentProps) to render an APL component.

e.g renderComponent: NumberControlAPLComponentBuiltIns.ModalKeyPadRender.default --- Default Implementation renderComponent: NumberControlAPLComponentBuiltIns.ModalKeyPadRender.default.of(props: NumberControlAPLComponentProps) --- Override few properties

2) Provide a custom function which returns an APL component.

Default: NumberControlAPLComponentBuiltIns.ModalKeyPadRender.default

Optional requestChangedValue

requestChangedValue: AplPropNewStyle

Defines the APL to use when requesting a changed value.

Optional requestValue

requestValue: AplPropNewStyle

Defines the APL to use when requesting a value.

Optional validationFailedMessage

validationFailedMessage: string | function

The message to show on screen if validation fails.