The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
233 B

  1. module.exports = class {
  2. onCreate() {
  3. this.state = {
  4. loggingIn: false,
  5. loggingOut: false,
  6. }
  7. }
  8. loginClicked() {
  9. this.state.loggingIn = true
  10. }
  11. logoutClicked() {
  12. this.state.loggingOut = true
  13. }
  14. }