molstar
Version:
A comprehensive macromolecular library.
12 lines (11 loc) • 601 B
TypeScript
/**
* Copyright (c) 2018-2020 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 createPlugin(target: HTMLElement, spec?: PluginUISpec): PluginUIContext;
/** Returns the instance of the plugin after all behaviors have been initialized */
export declare function createPluginAsync(target: HTMLElement, spec?: PluginUISpec): Promise<PluginUIContext>;