Skip to content

Releases: nnattawat/slideReveal

Fix multiple overlay DOM

16 May 02:05
Compare
Choose a tag to compare

Now we can have multiple slideReveals with overlay in the same page without overlaying on top of one another

v1.1.1

16 May 02:05
Compare
Choose a tag to compare
Scope event to `.slideReveal` name space

Refactor: wrap interface into SlideReveal object

24 Jan 07:29
Compare
Choose a tag to compare

Refactor

Version is bumped to v1.1 because changes in the main code from the refactor. Now internal interface is wrapped into SlideReveal class which can be accessed as:

$(slideReveal).data('slide-reveal-model')`

Features added

  • width option can be 100, '100px', '50%'
  • add toggle method option
$(el).slideReveal('toggle');

Minor bug fixing

17 Jan 03:08
Compare
Choose a tag to compare

Fix undefined error when no padding specified. (49c6249)

Add overlay option

17 Jan 03:11
Compare
Choose a tag to compare

Add the overlay option with default true. So by default the page will be blocked when slideReveal is opened.

$('element').slideReveal({
  overlay: true // false
});