mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(core): first class a11y support (#8909)
This commit is contained in:
committed by
Nathan Walker
parent
577b1e9dad
commit
f2e21a50a7
12
packages/core/application/index.d.ts
vendored
12
packages/core/application/index.d.ts
vendored
@@ -54,6 +54,11 @@ export const orientationChangedEvent: string;
|
||||
*/
|
||||
export const systemAppearanceChangedEvent: string;
|
||||
|
||||
/**
|
||||
* String value used when hooking to fontScaleChanged event.
|
||||
*/
|
||||
export const fontScaleChangedEvent: string;
|
||||
|
||||
/**
|
||||
* Boolean to enable/disable systemAppearanceChanged
|
||||
*/
|
||||
@@ -62,7 +67,7 @@ export let autoSystemAppearanceChanged: boolean;
|
||||
/**
|
||||
* enable/disable systemAppearanceChanged
|
||||
*/
|
||||
export function setAutoSystemAppearanceChanged(value: boolean);
|
||||
export function setAutoSystemAppearanceChanged(value: boolean): void;
|
||||
|
||||
/**
|
||||
* Updates root view classes including those of modals
|
||||
@@ -184,6 +189,11 @@ export function setCssFileName(cssFile: string): void;
|
||||
*/
|
||||
export function getCssFileName(): string;
|
||||
|
||||
/**
|
||||
* Ensure css-class is set on rootView
|
||||
*/
|
||||
export function applyCssClass(rootView: View, cssClasses: string[], newCssClass: string): void;
|
||||
|
||||
/**
|
||||
* Loads immediately the app.css.
|
||||
* By default the app.css file is loaded shortly after "loaded".
|
||||
|
||||
Reference in New Issue
Block a user