export default class LoaderHelper { public static show ( ) { let loader = document . getElementById ( 'loader' ) ; if ( loader ) { loader . style . display = 'block' ; } } public static hide ( ) { let loader = document . getElementById ( 'loader' ) ; if ( loader ) { loader . style . display = 'none' ; } } }