You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'<p>By setting custom icons through <code>icon</code> , the corresponding icons will be automatically used by default based on different <code>type</code> values.</p>'
83
+
'You can use the <code>icon</code> property to set a custom icon. If no custom icon is specified, the icon is automatically used according to the <code>type</code> value.'
'en-US': 'Use the <code>show-icon</code> property to set whether the icon on the left is displayed.'
110
110
},
111
111
codeFiles: ['show-icon.vue']
112
112
},
113
113
{
114
114
demoId: 'custom-close',
115
115
name: {
116
-
'zh-CN': '关闭按钮',
116
+
'zh-CN': '自定义关闭按钮',
117
117
'en-US': 'custom close button'
118
118
},
119
119
desc: {
@@ -129,6 +129,11 @@ export default {
129
129
Enable the built-in close icon with the <code>closable</code> property, which defaults to <code>true</code>. <br />
130
130
Set the close button text by <code>close-text</code> instead of the close icon, effective only if <code>closable</code> is <code>true</code>. <br />
131
131
Unblock the built-in closing function when <code>closable</code> is set to <code>false</code>. At this point, you can completely customize the presentation of the close button area via the <code>close</code> slot.
132
+
<div class="tip custom-block">
133
+
<p class="custom-block-title">
134
+
When the component is closed or hidden, there will be a fade animation, see the example!
0 commit comments