Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {loadForm} from "../IndexPage/registrationLogin";
- class Naboo extends loadForm{
- private cards;
- private MusicLinkArray = [
- 'sounds/skill-sound/BB-8.mp3',
- 'sounds/skill-sound/C-3PO.mp3',
- 'sounds/skill-sound/Chewbacca.mp3',
- 'sounds/skill-sound/Ray.mp3',
- 'sounds/skill-sound/Yoda.mp3'
- ];
- constructor() {
- super();
- this.SkillChose();
- }
- SkillChose =()=> {
- document.querySelector('.cards').addEventListener('click',(event)=>{
- switch (event.target.id){
- case 'bb-8':{
- }
- }
- })
- }
- }
- let naboo = new Naboo();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement