Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjennings committed Nov 22, 2023
1 parent 86ffdf9 commit 30d14dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
"mode": "pre",
"tag": "next",
"initialVersions": {
"svelte-pixi": "6.0.0",
"docs": "0.0.1",
"parcel-example": "0.0.0",
"svelte-kit-example": "0.0.1",
"vite-example": "0.0.0",
"vite-custom-pixi-file-example": "0.0.0",
"with-matter-js-example": "0.0.0"
"svelte-pixi": "0.1.3"
},
"changesets": []
}
4 changes: 2 additions & 2 deletions docs/src/content/docs/api/components/assets-loader.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ render until the loading has completed. You can show progress by using the `prog

## Usage

```svelte render wrapper=/src/layouts/examples/wrappers/Empty.svelte
```svelte live wrapper=/src/layouts/examples/wrappers/Empty.svelte
<script>
import { Application, AssetsLoader, Sprite, Text } from 'svelte-pixi'
import * as PIXI from 'pixi.js'
Expand Down Expand Up @@ -37,7 +37,7 @@ render until the loading has completed. You can show progress by using the `prog
You may call [`PIXI.Assets.init()`](https://pixijs.download/dev/docs/PIXI.Assets.html#init) to configure the behaviour of the Assets loader, but you must do it before the first
time you render an `AssetsLoader` component.

```svelte render
```svelte live
<script>
import { Application, AssetsLoader, Sprite, Text } from 'svelte-pixi'
import * as PIXI from 'pixi.js'
Expand Down

0 comments on commit 30d14dd

Please sign in to comment.