litecanvas 0.75.0 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/dist.dev.js +342 -424
- package/dist/dist.js +40 -424
- package/dist/dist.min.js +1 -1
- package/package.json +4 -4
- package/src/index.js +406 -447
- package/src/types.js +0 -2
- package/types/types.d.ts +1 -9
package/src/types.js
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -579,15 +579,7 @@ type LitecanvasInstance = {
|
|
|
579
579
|
|
|
580
580
|
type LitecanvasOptions = {
|
|
581
581
|
/**
|
|
582
|
-
*
|
|
583
|
-
*/
|
|
584
|
-
fps?: number
|
|
585
|
-
/**
|
|
586
|
-
* Makes the canvas fills the entire page. By default is `true`.
|
|
587
|
-
*/
|
|
588
|
-
fullscreen?: boolean
|
|
589
|
-
/**
|
|
590
|
-
* The game screen width. If specified, disables fullscreen.
|
|
582
|
+
* The game screen width. If not set, the canvas will have the size of the webpage.
|
|
591
583
|
*/
|
|
592
584
|
width?: number
|
|
593
585
|
/**
|