ax5ui-docker
Advanced tools
Comparing version 1.4.81 to 1.4.82
{ | ||
"name": "ax5ui-docker", | ||
"version": "1.4.81", | ||
"version": "1.4.82", | ||
"description": "A dashboard plugin that works with Bootstrap & jQuery", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "ax5ui-docker", | ||
"version": "1.4.81", | ||
"version": "1.4.82", | ||
"description": "A dashboard plugin that works with Bootstrap & jQuery", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -26,3 +26,73 @@ /* | ||
myDocker.setConfig({ | ||
target: $('[data-ax5docker="docker1"]') | ||
target: $('[data-ax5docker="docker1"]'), | ||
icons: { | ||
close: '<i class="fa fa-times" aria-hidden="true"></i>', | ||
more: '<i class="fa fa-chevron-circle-down" aria-hidden="true"></i>' | ||
}, | ||
panels: [ | ||
{ | ||
type: "row", // type : row, column, stack | ||
panels: [ | ||
{ | ||
type: "column", | ||
panels: [ | ||
{ | ||
type: "panel", | ||
name: "my name 1", | ||
moduleName: "content", | ||
moduleState: { | ||
data1: "data1" | ||
} | ||
}, | ||
{ | ||
type: "panel", | ||
name: "my name 2", | ||
moduleName: "content", | ||
moduleState: { | ||
data1: "data2" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
type: "stack", | ||
panels: [ | ||
{ | ||
type: "panel", | ||
name: "my name 3", | ||
moduleName: "content", | ||
moduleState: { | ||
data1: "data3" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
disableClosePanel: false, | ||
disableDragPanel: false, | ||
control: { | ||
before: function (that, callback) { | ||
if (that.controlType === "destroy") { | ||
if (confirm("Do you want to Delete?")) { | ||
setTimeout(function () { | ||
callback(); | ||
}, 300); | ||
return; | ||
} | ||
} else { | ||
callback(); | ||
return; | ||
} | ||
} | ||
}, | ||
menu: { | ||
theme: 'default', | ||
position: "absolute", | ||
icons: { | ||
'arrow': '▸' | ||
} | ||
} | ||
}); | ||
@@ -32,2 +102,6 @@ | ||
}); | ||
it('dock repaint', function (done) { | ||
done(typeof myDocker.repaint() == "object" ? "" : "docker repaint error"); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1357242
3471