Advertisement
Guest User

Untitled

a guest
May 24th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import {loadForm} from "../IndexPage/registrationLogin";
  2.  
  3. class Naboo  extends loadForm{
  4.     private cards;
  5.     private  MusicLinkArray = [
  6.         'sounds/skill-sound/BB-8.mp3',
  7.         'sounds/skill-sound/C-3PO.mp3',
  8.         'sounds/skill-sound/Chewbacca.mp3',
  9.         'sounds/skill-sound/Ray.mp3',
  10.         'sounds/skill-sound/Yoda.mp3'
  11.     ];
  12.  
  13.     constructor() {
  14.         super();
  15.         this.SkillChose();
  16.     }
  17.     SkillChose =()=> {
  18.  
  19.         document.querySelector('.cards').addEventListener('click',(event)=>{
  20.              switch (event.target.id){
  21.                  case 'bb-8':{
  22.  
  23.                  }
  24.              }
  25.          })
  26.     }
  27. }
  28.  
  29. let naboo = new Naboo();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement