The all new and revolutionary JarvisWidgets v2.0 ($35 value) is now only exclusive to SmartAdmin. JarvisWidgets allows you to do more than your normal widgets. You can now use realtime AJAX loading in a snap with auto refresh. Add Infinite buttons and controls to widget header. All widgets are Sortable across all bootstrap col-spans and uses HTML5 localStorage. Also now supports RTL Support, Crosbrowser Support, Callback functions and More..
data-widget-togglebutton="true"
will still act as false
, you must remove the data-attribute for the statement to be true.
HTML5 data attributes / CSS / HTML | Place after | Example value(s) | Desctription |
---|---|---|---|
data-widget-sortable | header |
false | Prevent a widget from being sortable (can only be used with the value 'false'). |
data-widget-icon | .jarviswidget |
fa fa-trash | Use a icon in the widgets header (see icons section for all list of icons). |
data-widget-togglebutton | .jarviswidget |
false | Prevent a widget from having a toggle button (can only be used with the value 'false'). |
data-widget-deletebutton | .jarviswidget |
false | Prevent a widget from having a delete button (can only be used with the value 'false'). |
data-widget-editbutton | .jarviswidget |
false | Prevent a widget from having a edit button (can only be used with the value 'false'). |
data-widget-fullscreenbutton | .jarviswidget |
false | Prevent a widget from having a fullscreen button (can only be used with the value 'false'). |
data-widget-load | .jarviswidget |
widget-ajax.php | The file that is loaded with ajax. |
data-widget-refresh | .jarviswidget |
10 | Seconds to refresh a ajax file (see 'data-widget-load'). |
data-widget-refreshbutton | .jarviswidget |
false | Prevent a ajax widget from showing a refresh button (can only be used with the value 'false'). |
data-widget-hidden | .jarviswidget |
true | Hide a widget at load (can only be used with the value 'true'). |
data-widget-colorbutton | .jarviswidget |
false | This is active by default, set it to false to hide. |
data-widget-collapsed | .jarviswidget |
false | Collapse a widget upon load (can only be used with the value 'true'). This will allways be collapsed every page load. |
data-widget-grid | article |
false | You can exclude grids from being a sortable/droppable area, this means that all widgets in this area will work, but cant be sortable/droppable and that all other widgets cant be dropped in this area. Add this attribute (can only be used with the value 'false') to a grid element. |
.no-padding |
.widget-body |
n/a | Removes all padding inside widget body |
.well |
.jarviswidget |
n/a | Converts a widget to a well |
These HTML5 attributes are used as individual widget options. Main options can be changed in the widgets plugin it self. Notice: data attributes can only have 1 boolan value(see above)! |