Options
All
  • Public
  • Public/Protected
  • All
Menu

Date input.

Hierarchy

Implements

Index

Constructors

constructor

  • children is an array of content passed to this Component.

    Parameters

    Returns Date

Properties

attrs

children

children: Content[]

error

error: Error<string, DateAttrs, GenericFeedbackControl<string, DateAttrs>> = error(this)(_root(this))

getValidationState

getValidationState: GetValidationState = getValidationState(_root(this))

neutral

neutral: Neutral<string, DateAttrs, GenericFeedbackControl<string, DateAttrs>> = neutral(this)(_root(this))

setMessage

setMessage: SetMessage<string, DateAttrs, GenericFeedbackControl<string, DateAttrs>> = setMessage(this)(_messages(this))

success

success: Success<string, DateAttrs, GenericFeedbackControl<string, DateAttrs>> = success(this)(_root(this))

view

view: View = new views.Main(this)

warning

warning: Warning<string, DateAttrs, GenericFeedbackControl<string, DateAttrs>> = warning(this)(_root(this))

Methods

calculate

  • calculate(): Moment

get

  • get(): string

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

set

  • set(_: string): this

Object literals

values

values: object

name

name: string = (this.attrs.ww && this.attrs.ww.name) || '<name>'

date

date: object

format

format: string = format.YYYYDDMM

months

months: object[] = _months()

sep

sep: string = "-"

value

value: Moment = (this.attrs.ww && this.attrs.ww.value) ?moment(this.attrs.ww.value, format.YYYYDDMM) : null

fire

  • fire(): void

day

day: object

class

class: string = concat(DATE_DAY, 'form-control')

disabled

disabled: boolean = (this.attrs.ww && this.attrs.ww.disabled === true) ? true : null

id

id: string = "day"

oninput

  • oninput(e: KeyboardEvent): void

onkeyup

  • onkeyup(e: Event): void

value

  • value(): string

inline

inline: object

class

class: string = "form-inline"

label

label: object

id

id: string = (this.attrs.ww && this.attrs.ww.name) || '<name>'

text

text: string = (this.attrs.ww && this.attrs.ww.label) || '<label>'

messages

messages: object

error

error: string = (this.attrs.ww && this.attrs.ww.error) || undefined

id

id: string = "messages"

success

success: string = (this.attrs.ww && this.attrs.ww.success) || undefined

warning

warning: string = (this.attrs.ww && this.attrs.ww.warning) || undefined

month

month: object

class

class: string = concat(DATE_MONTH, 'form-control')

disabled

disabled: boolean = (this.attrs.ww && this.attrs.ww.disabled === true) ?true : null

id

id: string = "month"

onchange

  • onchange(e: Event): void

value

  • value(): string

root

root: object

class

class: string = concat(DATE,'form-group',this.attrs.ww && this.attrs.ww.class,selectState(this.attrs.ww))

id

id: string = "root"

year

year: object

class

class: string = DATE_YEAR

disabled

disabled: boolean = (this.attrs.ww && this.attrs.ww.disabled === true) ? true : null

id

id: string = "year"

oninput

  • oninput(e: KeyboardEvent): void

onkeyup

  • onkeyup(e: Event): void

value

  • value(): string

Generated using TypeDoc