npm i x-typing-text
or, import in HTML file
<script type="module" src="https://unpkg.com/x-typing-text/dist/x-typing-text/x-typing-text.esm.js"></script>
<script nomodule src="https://unpkg.com/x-typing-text/dist/x-typing-text/x-typing-text.js"></script>
<x-typing-text text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut"
waiting-time="250"
delay="1000">
</x-typing-text>
Property | type | Description | Default |
---|---|---|---|
text |
string | The text who will be typing | |
waiting-time |
number | The delay between each characters | 500 |
delay |
number | The delay to start typing | 0 |
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
M.I.T