Skip to content
Snippets Groups Projects
votes.js 260 B
Newer Older
  • Learn to ignore specific revisions
  • // Imports
    import * as Auth from "/services/auth/auth.js";
    
    export async function mount(parent) {
      const voteComponent = new Vote(parent);
      return voteComponent;
    }
    
    class Vote {
      constructor(parent) {
        this.method = null;
        this.parent = parent;
      }
    }