Skip to content

Commit

Permalink
docs(component.md): fix spelling error (#7498)
Browse files Browse the repository at this point in the history
  • Loading branch information
iChengbo committed Nov 8, 2021
1 parent f326cf3 commit e60f2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ myComponent.on(otherComponent, 'eventName', myFunc);

otherComponent.trigger('eventName');
// logs 'myFunc called' twice
myComponent.off(ootherComponent.el(), 'eventName', myFunc);
myComponent.off(otherComponent.el(), 'eventName', myFunc);
myComponent.off(otherComponent, 'eventName', myFunc);
otherComponent.trigger('eventName');
// does nothing
Expand Down

0 comments on commit e60f2ca

Please sign in to comment.