From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-number-form-control/index.html | 204 ++++----------------- 1 file changed, 39 insertions(+), 165 deletions(-) (limited to 'api/pl.treksoft.kvision.form/-number-form-control/index.html') diff --git a/api/pl.treksoft.kvision.form/-number-form-control/index.html b/api/pl.treksoft.kvision.form/-number-form-control/index.html index a7d72d4a..74ae7692 100644 --- a/api/pl.treksoft.kvision.form/-number-form-control/index.html +++ b/api/pl.treksoft.kvision.form/-number-form-control/index.html @@ -8,96 +8,19 @@ kvision / pl.treksoft.kvision.form / NumberFormControl

NumberFormControl

-interface NumberFormControl : FormControl +(js) interface NumberFormControl : FormControl

Base interface of a form control with a numeric value.

Properties

- - -
-

value

+(js) +

value

-abstract var value: Number?

Numeric value.

-
-

Inherited Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +abstract var value: Number?
-

disabled

-
-open var disabled: Boolean -

Determines if the field is disabled.

-
-

flabel

-
-abstract val flabel: FieldLabel -

Form field label.

-
-

input

-
-abstract val input: FormInput -

The actual input component.

-
-

invalidFeedback

-
-abstract val invalidFeedback: InvalidFeedback -

Invalid feedback component.

-
-

name

-
-open var name: String? -

The name attribute of the generated HTML input element.

-
-

size

-
-open var size: InputSize? -

Input control field size.

-
-

validationStatus

-
-open var validationStatus: ValidationStatus? -

Input control validation status.

-
-

validatorError

-
-open var validatorError: String? -

Validator error message.

-
@@ -106,80 +29,30 @@ -

getValue

+(js) +

getValue

-open fun getValue(): Number?

Returns the value of the control.

- +open fun getValue(): Number? -

getValueAsString

+(js) +

getValueAsString

-open fun getValueAsString(): String?

Returns the value of the control as a String.

- +open fun getValueAsString(): String? -

setValue

+(js) +

setValue

-open fun setValue(v: Any?): Unit

Sets the value of the control.

- - - - -

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - +open fun setValue(v: Any?): Unit
-

blur

-
-abstract fun blur(): Unit -

Makes the input element blur.

-
-

focus

-
-abstract fun focus(): Unit -

Makes the input element focused.

-
-

styleForHorizontalFormPanel

-
-open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit -

Style form control element for horizontal form panel.

-
-

styleForInlineFormPanel

-
-open fun styleForInlineFormPanel(): Unit -

Style form control element for inline form panel.

-
-

styleForVerticalFormPanel

-
-open fun styleForVerticalFormPanel(): Unit -

Style form control element for vertical form panel.

-
@@ -188,79 +61,80 @@ -

addBsBgColor

+(js) +

addBsBgColor

fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit -

addBsBorder

+(js) +

addBsBorder

fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit -

addBsClearfix

+(js) +

addBsClearfix

fun Component.addBsClearfix(): Unit -

addBsColor

+(js) +

addBsColor

fun Component.addBsColor(bsColor: BsColor): Unit -

addBsRounded

+(js) +

addBsRounded

fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit -

createInstance

- - -fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

- - - - -

removeBsBgColor

+(js) +

removeBsBgColor

fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit -

removeBsBorder

+(js) +

removeBsBorder

fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit -

removeBsClearfix

+(js) +

removeBsClearfix

fun Component.removeBsClearfix(): Unit -

removeBsColor

+(js) +

removeBsColor

fun Component.removeBsColor(bsColor: BsColor): Unit -

removeBsRounded

+(js) +

removeBsRounded

fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit @@ -272,21 +146,21 @@ -

Range

+(js) +

Range

-open class Range : SimplePanel, NumberFormControl

The form field component for range input control.

- +open class Range : SimplePanel, NumberFormControl -

Spinner

+(js) +

Spinner

-open class Spinner : SimplePanel, NumberFormControl

The form field component for spinner control.

- +open class Spinner : SimplePanel, NumberFormControl -- cgit