Skip to content

v2.0.0

Latest

Choose a tag to compare

@steelydylan steelydylan released this 07 Mar 03:11
· 59 commits to master since this release
  • using transform property to move contents
  • fix scrolling bug when using ios
  • prepare vanillaJS to use hiraku
  • compatible with browserify/Webpack
import Hiraku from 'hiraku';

new Hiraku(".offcanvas-right", {
  btn: "#offcanvas-btn-right",
  fixedHeader: "#header",
  direction: "right"
});