mirror of
https://github.com/videojs/video.js.git
synced 2025-02-16 12:23:54 +02:00
docs: update to width and height doc comments (#4592)
This commit is contained in:
parent
5e23048370
commit
006fb3b705
@ -605,10 +605,11 @@ class Player extends Component {
|
||||
}
|
||||
|
||||
/**
|
||||
* A getter/setter for the `Player`'s width.
|
||||
* A getter/setter for the `Player`'s width. Returns the player's configured value.
|
||||
* To get the current width use `currentWidth()`.
|
||||
*
|
||||
* @param {number} [value]
|
||||
* The value to set the `Player's width to.
|
||||
* The value to set the `Player`'s width to.
|
||||
*
|
||||
* @return {number}
|
||||
* The current width of the `Player` when getting.
|
||||
@ -618,10 +619,11 @@ class Player extends Component {
|
||||
}
|
||||
|
||||
/**
|
||||
* A getter/setter for the `Player`'s height.
|
||||
* A getter/setter for the `Player`'s height. Returns the player's configured value.
|
||||
* To get the current height use `currentheight()`.
|
||||
*
|
||||
* @param {number} [value]
|
||||
* The value to set the `Player's heigth to.
|
||||
* The value to set the `Player`'s heigth to.
|
||||
*
|
||||
* @return {number}
|
||||
* The current height of the `Player` when getting.
|
||||
|
Loading…
x
Reference in New Issue
Block a user