I know this is so simple but my boardTheme doesn't work?
const startPos = 'start';
const config = {
draggable: true,
position: startPos,
boardTheme: ['#ffffff', '#000000'], // white and black
onDragStart: onDragStart,
onDrop: onDrop,
onSnapEnd: onSnapEnd
}
when I open the website it's still the default theme.
bro this problem is because as you wrote the code:-
boardTheme: ['#ffffff', '#000000']
Do you know #ffffff is white color and #000000 means black color.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.