Download the PHP package levmyshkin/dreadmore without Composer
On this page you can find all versions of the php package levmyshkin/dreadmore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download levmyshkin/dreadmore
More information about levmyshkin/dreadmore
Files in levmyshkin/dreadmore
Download levmyshkin/dreadmore
More information about levmyshkin/dreadmore
Files in levmyshkin/dreadmore
Vendor levmyshkin
Package dreadmore
Short Description The plugin for collapsing and expanding long blocks of text. You can DISABLE it using CSS!
License MIT
Package dreadmore
Short Description The plugin for collapsing and expanding long blocks of text. You can DISABLE it using CSS!
License MIT
Please rate this library. Is it a good library?
Informations about the package dreadmore
DReadMore by DSekon
Forked from https://github.com/DSekon/DReadMore for using as drupal-library.
The plugin for collapsing and expanding long blocks of text. You can DISABLE it using CSS!
Demo
Getting Started With DReadMore
Include Files To Website
After that we need to include DReadMore JS file to our website. In your html file:
Add HTML Layout
Now, we need to add basic DReadMore layout:
Add CSS Styles
After that, we may need to set DReadMore min-height and overflow in your CSS file:
Set a min-height based on lines, you could do so in CSS: 1px - 1 line
Documentation
Options
Let's look on list of all available parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
| initialExpand | boolean | false | Set to true and the text will be expanded at the start |
| isInitialExpandWhenUpdate | boolean | false | Returns in the original state specified in startOpen when the screen is resized |
| moreText | string | 'Show more' | The text of the button when the collapsed text |
| lessText | string | 'Close' | The text of the button when the expanded text |
Example:
Callbacks
After that we need to include DReadMore JS file to our website. In your html file:
Update
Destroy
If you really want to be that guy...
Disable
Aaaaaand you can disable in CSS :D
All versions of dreadmore with dependencies
PHP Build Version
Package Version
No informations.
The package levmyshkin/dreadmore contains the following files
Loading the files please wait ...
