MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / constructor

Method constructor

packages/ui-default/components/dialog/DomDialog.ts:24–32  ·  view source on GitHub ↗
($dom, options: Partial<DialogOptions> = {})

Source from the content-addressed store, hash-verified

22 _resolve: (value: string | PromiseLike<string>) => void;
23
24 constructor($dom, options: Partial<DialogOptions> = {}) {
25 super($dom);
26 this.options = {
27 cancelByClickingBack: false,
28 cancelByEsc: false,
29 onDispatch: () => { },
30 ...options as any,
31 };
32 }
33
34 async _show() {
35 this.$dom.css('z-index', zIndexManager.getNext());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected