import { customElement, containerless, inlineView } from "aurelia-framework"; import { config } from "./../../config"; @customElement(config.cardReveal) @containerless() @inlineView("") export class CardRevealElement { public element: HTMLDivElement; public attached() { this.element.classList.add("card-reveal"); } public detached() { this.element.classList.remove("card-reveal"); } }