Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CheckBox

Hierarchy

  • InputElement
    • CheckBox

Implements

  • IInputElement
  • IInputEvent

Index

Constructors

constructor

  • new CheckBox(Root: HTMLElement, name: string, Group?: string, Id?: string, Class?: string, Style?: string, checked?: boolean, exclusive?: boolean, _disabled?: boolean): CheckBox
  • Parameters

    • Root: HTMLElement
    • name: string
    • Optional Group: string
    • Optional Id: string
    • Optional Class: string
    • Optional Style: string
    • Default value checked: boolean = false
    • Default value exclusive: boolean = false
    • Default value _disabled: boolean = false

    Returns CheckBox

Properties

Protected Optional Class

Class: string

DisableChangeObservable

DisableChangeObservable: function

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

      Returns void

DisableClickObservable

DisableClickObservable: function

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

      Returns void

DisableInputObservable

DisableInputObservable: function

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

      Returns void

Protected Enabled

Enabled: boolean

Event

Event: function

Type declaration

    • (): void
    • Returns void

Private Optional Group

Group: string

Protected Optional Id

Id: string

Protected Name

Name: string

Private Root

Root: HTMLElement

Protected Optional Style

Style: string

Protected Type

Type: string

Private _disabled

_disabled: boolean

Protected _enabled

_enabled: boolean

Protected _value

_value: any

addClass

addClass: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

addStyle

addStyle: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

Protected changed

changed: Subject<InputData>

changed$

changed$: Observable<InputData>

Private checked

checked: boolean

class

class: function

Type declaration

    • (value: string): this
    • Parameters

      • value: string

      Returns this

Protected clicked

clicked: Subject<InputData>

clicked$

clicked$: Observable<InputData>

disable

disable: function

Type declaration

    • (): this
    • Returns this

Protected disabled

disabled: Subject<InputData>

disabled$

disabled$: Observable<InputData>

enable

enable: function

Type declaration

    • (): this
    • Returns this

Protected enabled

enabled: Subject<InputData>

enabled$

enabled$: Observable<InputData>

Private exclusive

exclusive: boolean

getValue

getValue: function

Type declaration

    • (): any
    • Returns any

id

id: function

Type declaration

    • (value: string): this
    • Parameters

      • value: string

      Returns this

Protected inputed

inputed: Subject<InputData>

inputed$

inputed$: Observable<InputData>

isEnabled

isEnabled: function

Type declaration

    • (): boolean
    • Returns boolean

Private name

name: string

node

node: HTMLInputElement

removeClass

removeClass: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

removeStyle

removeStyle: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

Protected root

root: HTMLElement

setClass

setClass: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

setId

setId: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

setStyle

setStyle: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

setType

setType: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

setValue

setValue: function

Type declaration

    • (value: string): void
    • Parameters

      • value: string

      Returns void

style

style: function

Type declaration

    • (value: string): this
    • Parameters

      • value: string

      Returns this

type

type: function

Type declaration

    • (value: string): this
    • Parameters

      • value: string

      Returns this

value

value: function

Type declaration

    • (value: string): this
    • Parameters

      • value: string

      Returns this

Methods

Init

  • Init(): void

Private NodeSelect

  • NodeSelect(selector: string): Array<any>
  • Parameters

    • selector: string

    Returns Array<any>

check

  • check(): void

group

  • group(value: string): this

isChecked

  • isChecked(): boolean

Protected setAttr

  • setAttr(name: string, value: string): void
  • Parameters

    • name: string
    • value: string

    Returns void

setGroup

  • setGroup(value: string): void

uncheck

  • uncheck(): void

Generated using TypeDoc