mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 03:51:25 -08:00
docs(core): [SITE-04] document template and icon contracts
This commit is contained in:
1 parent
a1488f11bb
commit
5910c3f179
96 files changed
+4873
-2458
No files matched your search
@@ -125,6 +125,8 @@ Returns the `html` string required by the player.
|
||||
console.info(Artplayer.html);
|
||||
```
|
||||
|
||||
This is the current version's static base markup, including required classes and media/control nodes, not a snapshot of an instance's current DOM. When reusing preinserted markup through `useSSR: true`, keep its complete structure and version aligned. The option does not make construction work outside a browser. Actual template instances have no `html` member; the historical root type retains that member for compatibility, but it does not replace the static entry.
|
||||
|
||||
## `option`
|
||||
|
||||
Returns the default options of the player.
|
||||
|
||||
Reference in new issue
Block a user