File

projects/m2-core/src/lib/widget-modules/input/input-mask.directive.ts

Implements

AfterViewInit

Metadata

Index

Properties
Methods
Inputs
Outputs
HostBindings
HostListeners
Accessors

Constructor

constructor(el: ElementRef, ngZone: NgZone)
Parameters :
Name Type Optional
el ElementRef<HTMLInputElement> No
ngZone NgZone No

Inputs

placeholder
Type : string
sdiInputMask

Outputs

ngModelChange
Type : EventEmitter

#20367 temporary kludge!!!

TODO track https://github.com/RobinHerbots/Inputmask/issues/2346

HostBindings

attr.placeholder
Type : string

HostListeners

keyup.backspace
Arguments : '$event'

Methods

ngAfterViewInit
ngAfterViewInit()
Returns : void
onBackspaceKeyup
onBackspaceKeyup(event: Event)
Decorators :
@HostListener('keyup.backspace', ['$event'])
Parameters :
Name Type Optional
event Event No
Returns : void

Properties

Optional _placeholder
Type : string
Decorators :
@HostBinding('attr.placeholder')

Accessors

defineInputType
setdefineInputType(config: InputMaskConfigType)
Parameters :
Name Type Optional
config InputMaskConfigType No
Returns : void
placeholder
setplaceholder(value: string)
Parameters :
Name Type Optional
value string No
Returns : void

results matching ""

    No results matching ""