mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-13 10:47:56 +01:00
17 lines
422 B
JavaScript
17 lines
422 B
JavaScript
const Mindplot = require('../../../lib/mindplot');
|
|
const mindplot = Mindplot();
|
|
|
|
window.addEventListener('load', function (e) {
|
|
var model = {
|
|
getValue: function () {},
|
|
setValue: function (value) {
|
|
console.log('value:' + value);
|
|
},
|
|
};
|
|
var palette = new mindplot.widget.ColorPalettePanel(
|
|
'myButton',
|
|
model,
|
|
'../../../lib/components/widget'
|
|
);
|
|
});
|