wisemapping-frontend/packages/mindplot/test/playground/lib/testPalette.js
Paulo Gustavo Veiga 32d803e271 Fix structure
2021-10-02 18:37:42 -07:00

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'
);
});