mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
add loading
This commit is contained in:
1 parent
e319afd422
commit
7cdf9f69e6
14 files changed
+329
-6
No files matched your search
@@ -60,4 +60,14 @@ export default function verification(option) {
|
||||
Array.isArray(option.layers),
|
||||
`'layers' option require 'array' type, but got '${typeof option.layers}'.`
|
||||
);
|
||||
|
||||
errorHandle(
|
||||
Array.isArray(option.contextmenu),
|
||||
`'contextmenu' option require 'array' type, but got '${typeof option.contextmenu}'.`
|
||||
);
|
||||
|
||||
errorHandle(
|
||||
typeof option.loading === 'string',
|
||||
`'loading' option require 'string' type, but got '${typeof option.loading}'.`
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user