license import { DotLoader } from '../src/elements/dot-loader/dot-loader.js' ; customElements . define ( DotLoader . defaultTagName , DotLoader ) ; const loader = new DotLoader ( ) ; loader . style . setProperty ( '--color' , '#FFF' ) ; hidden export function showLoader ( ) { document . body . appendChild ( loader ) ; } hidden export function hideLoader ( ) { loader . remove ( ) ; }