import { customAttribute , inject } from 'aurelia-framework' ; @ inject ( Element ) @ customAttribute ( 'mdc-top-app-bar-fixed-adjust' ) export class MdcTopAppBarFixedAdjust { constructor ( private root ) { } value : 'prominent' | 'dense' | 'dense-prominent' | 'short' ; attached ( ) { this . root . classList . add ( this . value ? `mdc-top-app-bar--${ this . value }-fixed-adjust` : 'mdc-top-app-bar--fixed-adjust' ) ; } }