shelf.js 449 B

12345678910111213141516
  1. import { cx_ui } from "./cx-ui";
  2. import { dictionary } from "./dictionary";
  3. import { phrase } from "./phrase";
  4. import { selector } from "./selector.js";
  5. import { view } from "./view";
  6. export class shelf extends view {
  7. show() {
  8. const back = new phrase("selector.return");
  9. const return_button = cx_ui.push("return", back, () => {
  10. this.manager.view = selector;
  11. });
  12. return return_button;
  13. }
  14. }