import { viewEngineHooks } from 'aurelia-framework' ; @ viewEngineHooks export class EnhanceTopAppBarActions { beforeCompile ( template ) { const actions = template . querySelectorAll ( '[mdc-top-app-bar-action-item],[mdc-top-app-bar-nav-icon]' ) ; for ( const i of Array . from ( actions ) ) { i . setAttribute ( 'mdc-ripple' , 'unbounded.bind: true' ) ; } } }