extend.js
- Source:
- extend.js
Methods
-
<inner> extendFn(superClass [, subClassMethods])
-
Function for subclassing using the same inheritance that videojs uses internally
Parameters:
Name Type Argument Default Description superClass
Object The class to inherit from
subClassMethods
Object <optional>
{} The class to inherit to
- Source:
- extend.js
Returns:
The new object with subClassMethods that inherited superClass.
- Type
- Object