MCPcopy
hub / github.com/myliang/x-spreadsheet / constructor

Method constructor

src/component/dropdown_border.js:6–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5export default class DropdownBorder extends Dropdown {
6 constructor() {
7 const icon = new Icon('border-all');
8 const borderPalette = new BorderPalette();
9 borderPalette.change = (v) => {
10 this.change(v);
11 this.hide();
12 };
13 super(icon, 'auto', false, 'bottom-left', borderPalette.el);
14 }
15}

Callers

nothing calls this directly

Calls 2

changeMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected