mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
update docs
This commit is contained in:
1 parent
4a088aebc4
commit
382b451bb9
3 files changed
+5
-7
No files matched your search
@@ -399,7 +399,7 @@ var art = new Artplayer({
|
||||
});
|
||||
|
||||
art.on('ready', () => {
|
||||
art.autoHeight = true;
|
||||
art.autoHeight();
|
||||
});
|
||||
|
||||
art.on('autoHeight', (height) => {
|
||||
|
||||
@@ -385,7 +385,7 @@ var art = new Artplayer({
|
||||
});
|
||||
|
||||
art.on('ready', () => {
|
||||
art.autoHeight = true;
|
||||
art.autoHeight();
|
||||
});
|
||||
|
||||
art.on('autoHeight', (height) => {
|
||||
|
||||
@@ -566,9 +566,7 @@ var art = new Artplayer({
|
||||
});
|
||||
|
||||
art.on('ready', () => {
|
||||
console.info(art.autoSize);
|
||||
art.autoSize = true;
|
||||
console.info(art.autoSize);
|
||||
art.autoSize();
|
||||
});
|
||||
```
|
||||
|
||||
@@ -709,11 +707,11 @@ var art = new Artplayer({
|
||||
});
|
||||
|
||||
art.on('ready', () => {
|
||||
art.autoHeight = true;
|
||||
art.autoHeight();
|
||||
});
|
||||
|
||||
art.on('resize', () => {
|
||||
art.autoHeight = true;
|
||||
art.autoHeight();
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user