Typed.js
Decorate your website with Typed.js is a library that types, allowing to showcase more texts in a sentence.
Official documentation
For more detailed information and examples, see the official documentation: Typed.js .
How to use?
Wrap any block in a parent element with an ID or class and add the same ID in the JS INIT function of the plugin.
Copy-paste the following <script>
near the end of your pages under JS Implementing Plugins to enable it.
Copy-paste the init function under JS Plugins Init., before the closing </body>
tag, to enable it.
Methods
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-target=""
.
Attribute | Description |
---|---|
|
Checkboxes to which toggle is applied (this may not be necessarily an ID, it can be a class for a particular group of checkboxes). |
|
Must specify the buttons that's used in each separate section. |