README
UTILS
安装
npm 安装
$ npm install @chunhui/alert
yarn 安装
$ yarn add @chunhui/alert
使用
private alert: AlertService
this.alert.create({
title: 'Title',
message: 'This is message'
buttons: [
{
text: 'Submit'
handler: () => console.log('on submit')
},
{
text: 'Cancel'
}
]
})