| 12345678910111213141516171819202122232425262728293031323334353637383940414243 | 
							- import { abstract } from "assets/abstract.js";
 
- import { types } from "assets/types.js";
 
- class view {
 
-     #app;
 
-     #name;
 
-     constructor(app, name = undefined) {
 
-         types.check_html_element(app);
 
-         types.check_string(name, true);
 
-         this.#app = app;
 
-         this.#name = name;
 
-     }
 
-     get has_name() {
 
-         return this.#name !== undefined && this.#name !== null;
 
-     }
 
-     get name() {
 
-         return this.#name;
 
-     }
 
-     get app() {
 
-         return this.#app;
 
-     }
 
-     _clean() {
 
-         while (this.app.hasChildNodes()) {
 
-             this.app.firstChild.remove();
 
-         }
 
-     }
 
-     hide() {
 
-         this._clean();
 
-     }
 
-     show() {
 
-         throw abstract();
 
-     }
 
- }
 
- export { view };
 
 
  |