mirror of
https://github.com/videojs/video.js.git
synced 2025-01-04 06:48:49 +02:00
docs(component.md): fix spelling error (#7498)
This commit is contained in:
parent
f326cf3449
commit
e60f2cada5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user