Global Config In Svelte
Sets a config for the size
property of the spinner
element.
import App from './App.svelte';
// Setup the global config.
import { setConfig } from '@htmlplus/ui/config.js';
setConfig({
element: {
'plus-spinner': {
property: {
size: 'lg',
}
}
}
});
const app = new App({
target: document.body
});
export default app;