+function toggleElem(elem, show) {
+ elem.toggleAttribute('hidden', !show);
+}
+
+export class PagePicker extends Component {
+
+ setup() {
+ this.input = this.$refs.input;
+ this.resetButton = this.$refs.resetButton;
+ this.selectButton = this.$refs.selectButton;
+ this.display = this.$refs.display;
+ this.defaultDisplay = this.$refs.defaultDisplay;
+ this.buttonSep = this.$refs.buttonSeperator;