Skip to content

Commit 7473755

Browse files
committed
Change function name.
1 parent 85e6329 commit 7473755

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@
123123
}
124124

125125
if (!offset && delta.total) {
126-
this.triggerEvent('totop')
126+
this.fireEvent('totop')
127127
}
128128

129129
if (offset >= offsetAll) {
130-
this.triggerEvent('tobottom')
130+
this.fireEvent('tobottom')
131131
}
132132
},
133133

@@ -318,7 +318,7 @@
318318
},
319319

320320
// trigger a props event on parent.
321-
triggerEvent: function (event) {
321+
fireEvent: function (event) {
322322
if (this[event]) {
323323
this[event]()
324324
}

0 commit comments

Comments
 (0)