@chemistry/crystalview
v1.0.9
Published
Simple Crystal Viewer v1
Downloads
7
Maintainers
Readme
CrystalView
Simple Crystal Viewer - v1
How to use
import { Mol3DView } from '@chemistry/crystalview';
import structure from './1000004';
$(() => {
let viewer = new Mol3DView({
bgcolor: "#2b303b"
});
var element = document.getElementById('app');
viewer.append(element);
viewer.onInit();
try {
viewer.load(structure);
} catch(e) {
}
});
Quick start:
- Run unit tests:
npm run test
- Start TDD flow:
npm run tdd
- Run linter verification:
npm run lint
- Run linter verification & fix:
npm run lintfix
- Build project:
npm run build
Release
git tag v1.0.0
git push --tags
License
This project is licensed under the MIT license, Copyright (c) 2020 Volodymyr Vreshch. For more information see LICENSE.md.