Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputComponent

Hierarchy

  • InputComponent

Implements

  • AfterViewInit
  • ControlValueAccessor
  • MatFormFieldControl<string>
  • OnDestroy

Index

Constructors

constructor

  • new InputComponent(config: NgxExpressionsConfig, focusMonitor: FocusMonitor, elementRef: ElementRef<HTMLElement>, ngControl: NgControl, formatter: FormatterService): InputComponent

Properties

autofilled

autofilled: boolean = false

color

color: "primary" | "accent"

controlType

controlType: string = 'expression'

describedBy

describedBy: string = ''

editorRef

editorRef: EditorComponent

id

id: string = ...

language

language: string = 'typescript'

ngControl

ngControl: NgControl

output

output: "function" | "template" = 'template'

stateChanges

stateChanges: Subject<void> = ...

Static nextId

nextId: number = 0

Accessors

autosize

  • get autosize(): boolean
  • set autosize(value: boolean): void

busy

  • get busy(): boolean

disabled

  • get disabled(): boolean
  • set disabled(value: boolean): void

empty

  • get empty(): boolean

errorState

  • get errorState(): boolean

focused

  • get focused(): boolean
  • set focused(value: boolean): void

mode

  • get mode(): ModeType
  • set mode(value: ModeType): void

parameters

  • get parameters(): string
  • set parameters(value: string): void

placeholder

  • get placeholder(): string
  • set placeholder(value: string): void

required

  • get required(): boolean
  • set required(value: boolean): void

returnType

  • get returnType(): string
  • set returnType(value: string): void

scrolling

  • get scrolling(): boolean

shouldLabelFloat

  • get shouldLabelFloat(): boolean

styles

  • get styles(): any

validationErrors

  • get validationErrors(): string[]

value

  • get value(): string
  • set value(value: string): void

Methods

ngAfterViewInit

  • ngAfterViewInit(): void

ngOnDestroy

  • ngOnDestroy(): void

onContainerClick

  • onContainerClick(event: MouseEvent): void

onEditorReady

  • onEditorReady(): Promise<void>

registerOnChange

  • registerOnChange(onChange: (value: string) => void): void
  • Parameters

    • onChange: (value: string) => void
        • (value: string): void
        • Parameters

          • value: string

          Returns void

    Returns void

registerOnTouched

  • registerOnTouched(onTouched: () => void): void

setDescribedByIds

  • setDescribedByIds(ids: string[]): void

setDisabledState

  • setDisabledState(shouldDisable: boolean): void

updateLayout

  • updateLayout(): void

writeValue

  • writeValue(value: string): void

Generated using TypeDoc