source: trip-planner-front/node_modules/@angular/cdk/a11y/high-contrast-mode/high-contrast-mode-detector.d.ts.map@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.4 KB
Line 
1{"version":3,"file":"high-contrast-mode-detector.d.ts","sources":["high-contrast-mode-detector.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Platform } from '@angular/cdk/platform';\n/** Set of possible high-contrast mode backgrounds. */\nexport declare const enum HighContrastMode {\n NONE = 0,\n BLACK_ON_WHITE = 1,\n WHITE_ON_BLACK = 2\n}\n/** CSS class applied to the document body when in black-on-white high-contrast mode. */\nexport declare const BLACK_ON_WHITE_CSS_CLASS = \"cdk-high-contrast-black-on-white\";\n/** CSS class applied to the document body when in white-on-black high-contrast mode. */\nexport declare const WHITE_ON_BLACK_CSS_CLASS = \"cdk-high-contrast-white-on-black\";\n/** CSS class applied to the document body when in high-contrast mode. */\nexport declare const HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS = \"cdk-high-contrast-active\";\n/**\n * Service to determine whether the browser is currently in a high-contrast-mode environment.\n *\n * Microsoft Windows supports an accessibility feature called \"High Contrast Mode\". This mode\n * changes the appearance of all applications, including web applications, to dramatically increase\n * contrast.\n *\n * IE, Edge, and Firefox currently support this mode. Chrome does not support Windows High Contrast\n * Mode. This service does not detect high-contrast mode as added by the Chrome \"High Contrast\"\n * browser extension.\n */\nexport declare class HighContrastModeDetector {\n private _platform;\n /**\n * Figuring out the high contrast mode and adding the body classes can cause\n * some expensive layouts. This flag is used to ensure that we only do it once.\n */\n private _hasCheckedHighContrastMode;\n private _document;\n constructor(_platform: Platform, document: any);\n /** Gets the current high-contrast-mode for the page. */\n getHighContrastMode(): HighContrastMode;\n /** Applies CSS classes indicating high-contrast mode to document body (browser-only). */\n _applyBodyHighContrastModeCssClasses(): void;\n}\n"]}
Note: See TracBrowser for help on using the repository browser.