File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,13 @@ export default defineComponent({
139
139
} ;
140
140
141
141
const spinElement = (
142
- < div { ...divProps } style = { style } class = { spinClassName } >
142
+ < div
143
+ { ...divProps }
144
+ style = { style }
145
+ class = { spinClassName }
146
+ aria-live = "polite"
147
+ aria-busy = { sSpinning }
148
+ >
143
149
{ this . renderIndicator ( prefixCls ) }
144
150
{ tip ? < div class = { `${ prefixCls } -text` } > { tip } </ div > : null }
145
151
</ div >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ When part of the page is waiting for asynchronous data or during a rendering pro
18
18
| delay | specifies a delay in milliseconds for loading state (prevent flush) | number (milliseconds) | - | |
19
19
| indicator | vue node of the spinning indicator | vNode \| slot | - | |
20
20
| size | size of Spin, options: ` small ` , ` default ` and ` large ` | string | ` default ` | |
21
- | spinning | whether Spin is spinning | boolean | true | |
21
+ | spinning | whether Spin is visible | boolean | true | |
22
22
| tip | customize description content when Spin has children | string \| slot | - | slot 3.0 |
23
23
| wrapperClassName | className of wrapper when Spin has children | string | - | |
24
24
Original file line number Diff line number Diff line change 162
162
}
163
163
164
164
&-spin {
165
- transform : rotate (45 deg );
165
+ transform : rotate (0 deg );
166
166
animation : antRotate 1.2s infinite linear ;
167
167
}
168
168
}
211
211
212
212
@keyframes antRotate {
213
213
to {
214
- transform : rotate (405 deg );
214
+ transform : rotate (360 deg );
215
215
}
216
216
}
217
217
You can’t perform that action at this time.
0 commit comments