Closed jum-s closed 2 years ago
original motivation is in the first commit, for accessibility purposes
one may want to test display by pasting the following in a svelte component
let errorTest = { type: 'error', message: I18n('Lorem ipsum dolor sit amet, consectetur adipisicing elit.') } let warningTest = { type: 'warning', message: I18n('Lorem ipsum dolor sit amet, consectetur adipisicing elit.') } let infoTest = { type: 'info', message: I18n('Lorem ipsum dolor sit amet, consectetur adipisicing elit.') } let successTest = { type: 'success', message: I18n('Lorem ipsum dolor sit amet, consectetur adipisicing elit.') }
and
<Flash bind:state={flashLang}/> <Flash bind:state={errorTest}/> <Flash bind:state={warningTest}/> <Flash bind:state={infoTest}/> <Flash bind:state={successTest}/>
original motivation is in the first commit, for accessibility purposes
one may want to test display by pasting the following in a svelte component
and