mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 20:13:47 +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'
|
|
);
|
|
});
|