wisemapping-frontend/packages/mindplot/test/playground/lib/testPalette.js

17 lines
422 B
JavaScript
Raw Normal View History

2021-10-03 03:37:42 +02:00
const Mindplot = require('../../../lib/mindplot');
2021-09-07 22:31:46 +02:00
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,
2021-09-08 22:45:26 +02:00
'../../../lib/components/widget'
2021-09-07 22:31:46 +02:00
);
});