Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 676 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 676 Bytes

sa-alert

Input

Name Data Type Two-way Default Value Description
type string 'info' 设置alert类型,可选['info', 'warning', 'danger', 'success']
alertClass string '' 设置Alert的class
shown boolean Y true 是否显示ALERT
closable boolean true 是否可关闭(显示关闭按钮)

Slots(ng-content占位符)

Name Description
'' 设置Alert的主内容

Events(Output)

Name Paramters Description
onClose boolean Alert组件关闭后触发(点击关闭按钮会引起组件关闭)