UNPKG

video.js

Version:

An HTML5 video player that supports HLS and DASH with a common API and skin.

21 lines 688 B
export default stateful; /** * Applies {@link module:stateful~StatefulMixin|StatefulMixin} to a target * object. * * If the target object is {@link module:evented|evented} and has a * `handleStateChanged` method, that method will be automatically bound to the * `statechanged` event on itself. * * @param {Object} target * The object to be made stateful. * * @param {Object} [defaultState] * A default set of properties to populate the newly-stateful object's * `state` property. * * @return {Object} * Returns the `target`. */ declare function stateful(target: any, defaultState?: any): any; //# sourceMappingURL=stateful.d.ts.map