update docs

This commit is contained in:
Harvey Zack committed 2023-05-19 20:43:16 +08:00
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();
});
```