Skip to content

Releases: tomickigrzegorz/show-more

v1.1.6

20 Sep 18:12
c664c20
Compare
Choose a tag to compare

Fixed

  • number: true does not work for inline lists (<li>)

v1.1.5

03 Jul 20:11
Compare
Choose a tag to compare

Fixed

  • Bug with table button - clickEvent added on wrong element? #53

v1.1.4

26 May 12:59
72d55c1
Compare
Choose a tag to compare

Fixed

  • remove console.log

v1.1.3

08 May 11:54
79fc14e
Compare
Choose a tag to compare

Feat

  • new props "nobutton" Diable showing the read more/less button, by default 'nobutton': false

If you have global configuration, you don't need to specify all the variables in the data-config:

<div class="element" data-config='{ "limit": 20 }'>
  Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quo, deleniti?
</div>
new ShowMore('.element', {
  config: {
    type: "text",
    limit: 200,
    more: "→ read more",
    less: "← read less"
  }
});

v1.1.2

29 Jan 14:43
Compare
Choose a tag to compare

Fixed

  • Does not work on Firefox #44

v1.1.1

14 Jan 16:28
95bdd31
Compare
Choose a tag to compare

Build

  • separate file compatible with IE #41

v1.1.0

22 Nov 14:36
905b14f
Compare
Choose a tag to compare

Changed

  • drop IE
  • add 'loose' parameter - smaller library
  • new dist folder width iife, umd and esm library, also minimized files

v1.0.20

22 Sep 09:28
14645a7
Compare
Choose a tag to compare

Added

  • global configuration #37

v1.0.19

09 Sep 13:14
6698119
Compare
Choose a tag to compare

Added

  • new example - how to change button style

v1.0.18

07 Aug 20:46
06dadcd
Compare
Choose a tag to compare

Added

  • new parameters [btnClass, btnClassAppend, regex] #32