2015-11-11 20:29:54 +01:00
|
|
|
/**
|
|
|
|
* --------------------------------------------
|
|
|
|
* AdminLTE Widget.js
|
|
|
|
* License MIT
|
|
|
|
* --------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
const Widget = (($) => {
|
|
|
|
'use strict'
|
|
|
|
|
|
|
|
class Widget {
|
|
|
|
|
2016-01-16 17:27:23 +01:00
|
|
|
constructor(element) {
|
2015-11-11 20:29:54 +01:00
|
|
|
this._element = element
|
|
|
|
}
|
|
|
|
|
|
|
|
static _jQueryInterface(element) {
|
|
|
|
let $this = $(element)
|
|
|
|
$this.show()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return Widget
|
|
|
|
|
|
|
|
})(jQuery)
|