UNPKG

molstar

Version:

A comprehensive macromolecular library.

24 lines (23 loc) 974 B
/** * 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 { BuiltInTrajectoryFormat } from '../../mol-plugin-state/formats/trajectory'; import { PluginUIContext } from '../../mol-plugin-ui/context'; import { Color } from '../../mol-util/color'; import '../../mol-util/polyfill'; import './index.html'; export { PLUGIN_VERSION as version } from '../../mol-plugin/version'; export { setDebugMode, setProductionMode } from '../../mol-util/debug'; export { Viewer as DockingViewer }; declare class Viewer { plugin: PluginUIContext; constructor(elementOrId: string | HTMLElement, colors?: Color[], showButtons?: boolean); loadStructuresFromUrlsAndMerge(sources: { url: string; format: BuiltInTrajectoryFormat; isBinary?: boolean; }[]): Promise<void>; }