This plugin checks content height and compare it with your max-height.
If content height is higher then your max-height, a show more button will appear.
Features
- custom text for show more/less button
- options via plugin or data-attributes
Install
include src/dynamic-content.js and src/dynamic-content.css
and call the plugin $(’.dynamic-selector’).dynamicContentHeight();