Road to v3.0.0-beta.1

- replaced slimScroll to overlayScrollbars
- added new layout types (fixed, navbar-fixed & footer-fixed)
- changed old default layout from "fixed" to non-fixed
- enhanced PushMenu.js to load options via data
- enhanced Layout.js new layout calcs, options via data for scrollbar
- fixed forms fontawesome icons
- added warning-feedback (without icon)
- added sidebar-mini-md
- updated index to use layout-fixed
- updated index2 to use layout-fixed, layout-navbar-fixed & layout-footer-fixed
This commit is contained in:
REJack
2019-06-05 13:34:15 +02:00
parent b03be999e8
commit 42568b9b8d
61 changed files with 15622 additions and 357 deletions

View File

@@ -74,6 +74,7 @@ const PushMenu = (($) => {
toggle() {
let isShown
if ($(window).width() >= this._options.screenCollapseSize) {
isShown = !$(Selector.BODY).hasClass(ClassName.COLLAPSED)
} else {
@@ -105,9 +106,10 @@ const PushMenu = (($) => {
static _jQueryInterface(operation) {
return this.each(function () {
let data = $(this).data(DATA_KEY)
const _options = $.extend({}, Default, $(this).data())
if (!data) {
data = new PushMenu(this)
data = new PushMenu(this, _options)
$(this).data(DATA_KEY, data)
}