We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cdb228 commit a6a0f57Copy full SHA for a6a0f57
src/js/component.js
@@ -160,8 +160,8 @@ class Component {
160
* @param {string|string[]} type
161
* An event name or an array of event names.
162
*
163
- * @param {Function} fn
164
- * The function to remove.
+ * @param {Function} [fn]
+ * The function to remove. If not specified, all listeners managed by Video.js will be removed.
165
*/
166
off(type, fn) {}
167
@@ -1843,7 +1843,7 @@ class Component {
1843
* @param {string} name
1844
* The Name of the component to get.
1845
1846
- * @return {Component}
+ * @return {typeof Component}
1847
* The `Component` that got registered under the given name.
1848
1849
static getComponent(name) {
0 commit comments