22 lines
493 B
JavaScript
22 lines
493 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.FullScreen = void 0;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
exports.FullScreen = FullScreen;
|