UNPKG

prp-ui-components

Version:

Package for use components of Pratica Plataforms

26 lines (25 loc) 784 B
declare enum ViewType { WEB = "web", TABLET = "tablet", MOBILE = "mobile" } declare enum DeviceType { WEB = "device-web", MOBILE = "device-mobile" } declare enum OrientationType { PORTRAIT = "port", LANDSCAPE = "land" } declare enum AppThemes { LIGHT = "light-theme", DARK = "dark-theme", TRANSITION = "changing-theme" } export declare const getViewType: () => ViewType.WEB | ViewType.MOBILE; export declare const getDeviceOrientation: () => OrientationType; export declare const getDeviceType: () => DeviceType; export declare const onChildrenScroll: (event: any, parentClass: string) => void; export declare const applyUserTheme: (selectedTheme: AppThemes) => AppThemes; export declare const updateBodyForOutsidePages: () => void; export {};