18 lines
361 B
JavaScript
18 lines
361 B
JavaScript
export class FullScreen {
|
|
constructor() {
|
|
this.enable = true;
|
|
this.zIndex = 0;
|
|
}
|
|
load(data) {
|
|
if (!data) {
|
|
return;
|
|
}
|
|
if (data.enable !== undefined) {
|
|
this.enable = data.enable;
|
|
}
|
|
if (data.zIndex !== undefined) {
|
|
this.zIndex = data.zIndex;
|
|
}
|
|
}
|
|
}
|