sk-alert-antd4
v0.2.26
Published
skinny-widgets alert element for antd4 theme
Downloads
30
Readme
Skinny Widgets Alert for Antd4 Theme
alert element
npm i sk-alert sk-alert-antd4 --save
then add the following to your html
<sk-config
theme="antd4"
base-path="/node_modules/sk-core/src"
theme-path="/node_modules/sk-theme-antd"
></sk-config>
<sk-alert type="error">Error ! Error !</sk-alert>
<script type="module">
import { SkAlert } from './node_modules/sk-alert/index.js';
customElements.define('sk-alert', SkAlert);
</script>
slots
default (not specified) - alert contents
attributes
closable - close button
template
id: SkAlertTpl