mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
@ -261,8 +261,8 @@ const SPINNERS: any = {
|
|||||||
return {
|
return {
|
||||||
r: 5,
|
r: 5,
|
||||||
style: {
|
style: {
|
||||||
top: 9 * Math.sin(2 * Math.PI * index / total),
|
top: (9 * Math.sin(2 * Math.PI * index / total)) + 'px',
|
||||||
left: 9 * Math.cos(2 * Math.PI * index / total),
|
left: (9 * Math.cos(2 * Math.PI * index / total)) + 'px',
|
||||||
[CSS.animationDelay]: -(dur - ((dur / total) * index)) + 'ms'
|
[CSS.animationDelay]: -(dur - ((dur / total) * index)) + 'ms'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -276,8 +276,8 @@ const SPINNERS: any = {
|
|||||||
return {
|
return {
|
||||||
r: 5,
|
r: 5,
|
||||||
style: {
|
style: {
|
||||||
top: 9 * Math.sin(2 * Math.PI * index / total),
|
top: (9 * Math.sin(2 * Math.PI * index / total)) + 'px',
|
||||||
left: 9 * Math.cos(2 * Math.PI * index / total),
|
left: (9 * Math.cos(2 * Math.PI * index / total)) + 'px',
|
||||||
[CSS.animationDelay]: -(dur - ((dur / total) * index)) + 'ms'
|
[CSS.animationDelay]: -(dur - ((dur / total) * index)) + 'ms'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -302,7 +302,7 @@ const SPINNERS: any = {
|
|||||||
return {
|
return {
|
||||||
r: 6,
|
r: 6,
|
||||||
style: {
|
style: {
|
||||||
left: (9 - (9 * index)),
|
left: (9 - (9 * index)) + 'px',
|
||||||
[CSS.animationDelay]: -(110 * index) + 'ms'
|
[CSS.animationDelay]: -(110 * index) + 'ms'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user