File

src/core/src/configs/keyboard.config.ts

Index

Properties

Properties

Optional announcementMessage
announcementMessage: string
Type : string
Default value : ''

Message to be announced by the MatAriaLiveAnnouncer

Optional darkTheme
darkTheme: null
Type : null
Default value : null

Enable a dark keyboard *

Optional duration
duration: number
Type : number
Default value : 0

The length of time in milliseconds to wait before automatically dismissing the keyboard after blur.

Optional isDebug
isDebug:
Default value : false

Enable the debug view *

Optional ngControl
ngControl: NgControl
Type : NgControl

Enable the debug view *

Optional politeness
politeness: AriaLivePoliteness
Type : AriaLivePoliteness
Default value : 'assertive'

The politeness level for the MatAriaLiveAnnouncer announcement.

Optional viewContainerRef
viewContainerRef: ViewContainerRef
Type : ViewContainerRef
Default value : null

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;
}

result-matching ""

    No results matching ""