File

out-tsc/lib/src/component/date-format.component.ts

Extends

BaseDateFormatComponent

Metadata

providers { provide: NG_VALUE_ACCESSOR, useExisting: , multi: } { provide: NG_VALIDATORS, useExisting: , multi: }
selector date-format
template
<div class='input-group date'> <input type='tel' [ngClass]='cssclass' [textMask]='{mask:dateMask}' [placeholder]='placeholder' [readonly]='readonly' [name]='inputname' [(ngModel)]='_date' (focus)='focusEvent($event)' (keyup)='keyUpEvent($event)' (keydown)='keyDownEvent($event)' [disabled]='isDisabled()' ngDefaultControl /> </div>
import { Component, forwardRef } from '@angular/core';
import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';

/* Own modules */
import { BaseDateFormatComponent } from './base-date-format.component';

@Component({
    selector: 'date-format',
    template: "<div class='input-group date'> <input type='tel' [ngClass]='cssclass' [textMask]='{mask:dateMask}' [placeholder]='placeholder' [readonly]='readonly' [name]='inputname' [(ngModel)]='_date' (focus)='focusEvent($event)' (keyup)='keyUpEvent($event)' (keydown)='keyDownEvent($event)' [disabled]='isDisabled()' ngDefaultControl /> </div> ",
    providers: [
        { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateFormatComponent), multi: true },
        { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateFormatComponent), multi: true }
    ]
})
export class DateFormatComponent extends BaseDateFormatComponent {}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""