File

src/core/widget-facade/input.directive.ts

Description

A directive used internally for registering/deregistering input elements with the facade factory

Implements

OnInit OnDestroy

Example

Metadata

Selector [smart-widget]

Index

Properties
Methods
Inputs
HostListeners
Accessors

Constructor

constructor(elementRef: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef, facadeFactory: WidgetFacadeFactory, changeDetector: ChangeDetectorRef)
Parameters :
Name Type Optional
elementRef ElementRef No
renderer Renderer2 No
vcRef ViewContainerRef No
facadeFactory WidgetFacadeFactory No
changeDetector ChangeDetectorRef No

Inputs

componentInstance
Type : any
id
Type : string
name
Type : string
value
Type : any

HostListeners

blur
blur()
input
Arguments : '$event'
input(event: KeyboardEvent)

Methods

getInputElement
getInputElement()
Returns : Observable<HTMLInputElement>

Properties

Public changeDetector
Type : ChangeDetectorRef
Public elementRef
Type : ElementRef
Public renderer
Type : Renderer2

Accessors

id
getid()
Returns : string
setid(value: string)
Parameters :
Name Type Optional
value string No
Returns : void
name
getname()
Returns : string
setname(value: string)
Parameters :
Name Type Optional
value string No
Returns : void
textMask
gettextMask()
Returns : MaskedInputDirective
value
getvalue()
Returns : any
setvalue(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
inputElement
getinputElement()
Returns : HTMLInputElement

result-matching ""

    No results matching ""