Skip to content

Commit 46e2b93

Browse files
committed
improve: remove animationDelay config
1 parent 630fb59 commit 46e2b93

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ The default global options are:
6060
animate: true,
6161
// Duration of the animation in milliseconds.
6262
animationDuration: 800,
63-
// Delay in animation in milliseconds.
64-
animationDelay: 0,
6563
// Representing the color of the annotation sketch.
6664
color: 'currentColor',
6765
// Width of the annotation strokes.
@@ -146,16 +144,6 @@ Turn on/off animation when annotating.
146144

147145
Duration of the animation in milliseconds.
148146

149-
#### animationDelay
150-
151-
**Type**: `number`
152-
153-
**Required**: `false`
154-
155-
**Default**: `0` - You can change it when install _(see above)_.
156-
157-
Delay in animation in milliseconds.
158-
159147
#### color
160148

161149
**Type**: `string`

src/components/RoughNotation.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ export default (options) => ({
4242
default: () => options.animationDuration,
4343
},
4444

45-
animationDelay: {
46-
type: Number,
47-
default: () => options.animationDelay,
48-
},
49-
5045
color: {
5146
type: String,
5247
default: () => options.color,
@@ -88,7 +83,6 @@ export default (options) => ({
8883
type: this.type,
8984
animate: this.animate,
9085
animationDuration: this.animationDuration,
91-
animationDelay: this.animationDelay,
9286
color: this.color,
9387
strokeWidth: this.strokeWidth,
9488
padding: this.padding,

src/options.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ export const defaultOptions = {
33
animate: true,
44
// Duration of the animation in milliseconds.
55
animationDuration: 800,
6-
// Delay in animation in milliseconds.
7-
animationDelay: 0,
86
// Representing the color of the annotation sketch.
97
color: 'currentColor',
108
// Width of the annotation strokes.

0 commit comments

Comments
 (0)