File: src/lib/AbstractUI.ts

Recommend this page to a friend!
  Classes of Dom Hastings   JS Webdav Client   src/lib/AbstractUI.ts   Download  
File: src/lib/AbstractUI.ts
Role: Class source
Content type: text/plain
Description: Class source
Class: JS Webdav Client
Access files of a Webdav server
Author: By
Last change:
Date: 7 months ago
Size: 499 bytes
 

Contents

Class file image Download
import DAV from './DAV'; import Element from '@dom111/element'; import State from './State'; export abstract class AbstractUI extends Element { #dav: DAV; #state: State; constructor(container: HTMLElement, dav: DAV, state: State) { super(container); this.#dav = dav; this.#state = state; this.bindEvents(); } protected abstract bindEvents(): void; dav(): DAV { return this.#dav; } state(): State { return this.#state; } } export default AbstractUI;