+ let turnIndic = h(
+ 'div',
+ {
+ "class": {
+ "topindicator": true,
+ "indic-right": true,
+ "white-turn": this.vr.turn=="w",
+ "black-turn": this.vr.turn=="b",
+ },
+ style: {
+ "width": indicWidth + "px",
+ "height": indicWidth + "px",
+ },
+ }
+ );
+ elementArray.push(turnIndic);
+ let expertSwitch = h(
+ 'button',
+ {
+ on: { click: this.toggleExpertMode },
+ attrs: { "aria-label": 'Toggle expert mode' },
+ 'class': {
+ "tooltip":true,
+ "topindicator": true,
+ "indic-right": true,
+ "expert-switch": true,
+ "expert-mode": this.expert,
+ },
+ },
+ [h('i', { 'class': { "material-icons": true } }, "remove_red_eye")]
+ );
+ elementArray.push(expertSwitch);