click() { // toggle
        let pos = this.findPos();
        if (pos === 0) pos = 1; // minor correction
        if (pos < 1 || pos > this.bitWidth) return;
        this.state = ((this.state >>> 0) ^ (1 << (this.bitWidth - pos))) >>> 0;
    }
@memberof Input
listener function to set selected index