mirror of https://github.com/ElemeFE/element
docs: update Popconfirm docs
parent
fa18776b4b
commit
a7aca5daa4
|
@ -24,8 +24,8 @@ You can customise Popconfirm like:
|
|||
```html
|
||||
<template>
|
||||
<el-popconfirm
|
||||
confirm-button-text='OK'
|
||||
cancel-button-text='No, Thanks'
|
||||
confirm-button-text="OK"
|
||||
cancel-button-text="No, Thanks"
|
||||
icon="el-icon-info"
|
||||
icon-color="red"
|
||||
title="Are you sure to delete this?"
|
||||
|
|
|
@ -25,8 +25,8 @@ Se puede personalizar Popconfirm así:
|
|||
```html
|
||||
<template>
|
||||
<el-popconfirm
|
||||
confirm-button-text='OK'
|
||||
cancel-button-text='No, Thanks'
|
||||
confirm-button-text="OK"
|
||||
cancel-button-text="No, Thanks"
|
||||
icon="el-icon-info"
|
||||
icon-color="red"
|
||||
title="Are you sure to delete this?"
|
||||
|
|
|
@ -24,8 +24,8 @@ You can customise Popconfirm like:
|
|||
```html
|
||||
<template>
|
||||
<el-popconfirm
|
||||
confirm-button-text='OK'
|
||||
cancel-button-text='No, Thanks'
|
||||
confirm-button-text="OK"
|
||||
cancel-button-text="No, Thanks"
|
||||
icon="el-icon-info"
|
||||
icon-color="red"
|
||||
title="Are you sure to delete this?"
|
||||
|
|
|
@ -24,8 +24,8 @@ Popconfirm 的属性与 Popover 很类似,因此对于重复属性,请参考
|
|||
```html
|
||||
<template>
|
||||
<el-popconfirm
|
||||
confirm-button-text='好的'
|
||||
cancel-button-text='不用了'
|
||||
confirm-button-text="好的"
|
||||
cancel-button-text="不用了"
|
||||
icon="el-icon-info"
|
||||
icon-color="red"
|
||||
title="这是一段内容确定删除吗?"
|
||||
|
|
Loading…
Reference in New Issue