some description.
- typescript features & vanilla js
$ npm install @autots/custom-lib-name -S
Using yarn:
$ yarn add @autots/custom-lib-name
<section id="demo">
<div class="child"></div>
</section>
Note: write some notes.
import CustomLibName from '@autots/custom-lib-name';
// 1. The simplest way
new CustomLibName();
<script src="dist/custom-lib-name.min.js"></script>
<script>
var demo = new AutoTs.CustomLibName(config);
</script>
| Name | Type | Default | Optional | Description |
The entry file must be named as index.ts
and put this file in the src
root directory.