Global Config In Angular

Sets a config for the size property of the spinner element.

import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; // Setup the global config. import { setConfig } from '@htmlplus/ui/config.js'; setConfig({ elements: { 'plus-spinner': { properties: { size: { default: 'lg' } } } } }); platformBrowserDynamic() .bootstrapModule(AppModule) .catch((error) => console.error(error));