UNPKG

molstar

Version:

A comprehensive macromolecular library.

12 lines (11 loc) 505 B
/** * Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal <david.sehnal@gmail.com> * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { PluginUIContext } from './context'; import { PluginUISpec } from './spec'; export declare function createPluginUI(target: HTMLElement, spec?: PluginUISpec, options?: { onBeforeUIRender?: (ctx: PluginUIContext) => (Promise<void> | void); }): Promise<PluginUIContext>;