This commit is contained in:
Harvey Zack committed 2018-10-16 11:33:31 +08:00
1 parent 32478ecb14
commit ca0c67499b
12 files changed
+219 -15

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import Icons from './icons';
export default class Mask {
constructor(art) {
this.art = art;
this.init();
}
init() {
this.art.refs.$mask.appendChild(Icons.play);
}
show() {
this.art.refs.$mask.style.display = 'flex';
}
hide() {
this.art.refs.$mask.style.display = 'none';
}
}