src/core/src/configs/keyboard.config.ts
Properties |
|
Optional announcementMessage |
announcementMessage:
|
Type : string
|
Default value : ''
|
Defined in src/core/src/configs/keyboard.config.ts:10
|
Message to be announced by the MatAriaLiveAnnouncer |
Optional darkTheme |
darkTheme:
|
Type : null
|
Default value : null
|
Defined in src/core/src/configs/keyboard.config.ts:19
|
Enable a dark keyboard * |
Optional duration |
duration:
|
Type : number
|
Default value : 0
|
Defined in src/core/src/configs/keyboard.config.ts:16
|
The length of time in milliseconds to wait before automatically dismissing the keyboard after blur. |
Optional isDebug |
isDebug:
|
Default value : false
|
Defined in src/core/src/configs/keyboard.config.ts:22
|
Enable the debug view * |
Optional ngControl |
ngControl:
|
Type : NgControl
|
Defined in src/core/src/configs/keyboard.config.ts:25
|
Enable the debug view * |
Optional politeness |
politeness:
|
Type : AriaLivePoliteness
|
Default value : 'assertive'
|
Defined in src/core/src/configs/keyboard.config.ts:7
|
The politeness level for the MatAriaLiveAnnouncer announcement. |
Optional viewContainerRef |
viewContainerRef:
|
Type : ViewContainerRef
|
Default value : null
|
Defined in src/core/src/configs/keyboard.config.ts:13
|
The view container to place the overlay for the keyboard into. |
import { ViewContainerRef } from '@angular/core';
import { NgControl } from '@angular/forms';
import { AriaLivePoliteness } from '@angular/cdk/a11y';
export class MatKeyboardConfig {
/** The politeness level for the MatAriaLiveAnnouncer announcement. */
politeness?: AriaLivePoliteness = 'assertive';
/** Message to be announced by the MatAriaLiveAnnouncer */
announcementMessage? = '';
/** The view container to place the overlay for the keyboard into. */
viewContainerRef?: ViewContainerRef = null;
/** The length of time in milliseconds to wait before automatically dismissing the keyboard after blur. */
duration? = 0;
/** Enable a dark keyboard **/
darkTheme? = null;
/** Enable the debug view **/
isDebug? = false;
/** Enable the debug view **/
ngControl?: NgControl;
}