Leer más/leer menos funcionalidad en Pure JavaScript-ReadMore. js
| Autor: | georapbox |
|---|---|
| Views Total: | 6,154 |
| Sitio oficial: | Ir a la web |
| Actualizado: | October 18, 2018 |
| Licencia: | MIT |
Vista prévia
Descripción
Cree una tabla HTML para el gráfico de barras.
Funcionamiento
Cree una tabla HTML para el gráfico de barras.
<script src="src/readMoreJS.min.js"></script>
Cree una tabla HTML para el gráfico de barras.
$readMoreJS.init({
target: 'p'
}); Cree una tabla HTML para el gráfico de barras.
$readMoreJS.init({
// Selector of the element the plugin applies to (any CSS selector, eg: '#', '.').
target: '',
// Number of words to initially display (any number).
numOfWords: 50,
// If true, user can toggle between 'read more' and 'read less'.
toggle: true,
// The text of 'Read more' link.
moreLink: 'read more ...',
// The text of 'Read less' link.
lessLink: 'read less',
// The class given to the read more link.
linkClass: 'rm-link',
// The class given to the div container of the read more link.
containerClass: false
}); Registro de cambios
10/18/2018
- Minify, versión de actualización





