mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-16 16:16:40 +03:00
1e1b3be0f1
Ideally, each browser extern file should only have one class in it, to make it easier to exclude individual externs in environments with a newer compiler. This splits up TextTrack, TextTrackCue, TextTrackCueList, and TextTrackList externs into separate files. Change-Id: I31053faac01bcff508ae9bf1afcb9d76567436a6
35 lines
614 B
JavaScript
35 lines
614 B
JavaScript
/*! @license
|
|
* Shaka Player
|
|
* Copyright 2016 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Externs for TextTrackCue which are missing from the Closure
|
|
* compiler.
|
|
*
|
|
* @externs
|
|
*/
|
|
|
|
|
|
/** @type {string} */
|
|
TextTrackCue.prototype.positionAlign;
|
|
|
|
/** @type {string} */
|
|
TextTrackCue.prototype.lineAlign;
|
|
|
|
/** @type {number|null|string} */
|
|
TextTrackCue.prototype.line;
|
|
|
|
/** @type {string} */
|
|
TextTrackCue.prototype.vertical;
|
|
|
|
/** @type {boolean} */
|
|
TextTrackCue.prototype.snapToLines;
|
|
|
|
/** @type {string} */
|
|
TextTrackCue.prototype.type;
|
|
|
|
/** @type {?} */
|
|
TextTrackCue.prototype.value;
|