@christianriedl/utils 1.0.78 → 1.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,6 @@ export declare class AppState implements IAppState {
25
25
  setBrowser(window: Window): string;
26
26
  log(logger: ILogger, logLevel: LogLevel): void;
27
27
  watch(logger: ILogger, logLevel: LogLevel): void;
28
- setfullScreen(element: HTMLElement): Promise<boolean>;
29
- exitfullScreen(): Promise<boolean>;
28
+ setFullScreen(element: HTMLElement): Promise<boolean>;
29
+ exitFullScreen(): Promise<boolean>;
30
30
  }
package/dist/appState.js CHANGED
@@ -127,7 +127,7 @@ export class AppState {
127
127
  }
128
128
  }
129
129
  }
130
- async setfullScreen(element) {
130
+ async setFullScreen(element) {
131
131
  if (element.requestFullscreen) {
132
132
  await element.requestFullscreen();
133
133
  this.fullScreen.value = !!window.document.fullscreenElement;
@@ -141,7 +141,7 @@ export class AppState {
141
141
  this.fullScreen.value = true;
142
142
  return false;
143
143
  }
144
- async exitfullScreen() {
144
+ async exitFullScreen() {
145
145
  if (window.document.exitFullscreen) {
146
146
  await window.document.exitFullscreen();
147
147
  this.fullScreen.value = !!window.document.fullscreenElement;
package/dist/types.d.ts CHANGED
@@ -94,8 +94,8 @@ export interface IAppState extends IAppInfo {
94
94
  navigate: Ref<((direction: EDirection) => void) | null>;
95
95
  log(logger: ILogger, logLevel: LogLevel): void;
96
96
  watch(logger: ILogger, logLevel: LogLevel): void;
97
- setfullScreen(element: HTMLElement): Promise<boolean>;
98
- exitfullScreen(): Promise<boolean>;
97
+ setFullScreen(element: HTMLElement): Promise<boolean>;
98
+ exitFullScreen(): Promise<boolean>;
99
99
  }
100
100
  export type ItemType = string | number | boolean;
101
101
  export interface IConfigItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christianriedl/utils",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "Interfaces, local storage, service worker, configuration, application state",
5
5
 
6
6
  "main": "dist/index.js",