Skip to content

Commit

Permalink
docs: Expand example
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Dec 18, 2024
1 parent eacc2ec commit ed09c48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ npm install @pixi/marquee-selection
```

```typescript
import { Application } from 'pixi.js';
import { MarqueeSelection } from '@pixi/marquee-selection';

const app = new Application();
await app.init();

const marquee = new MarqueeSelection();
app.stage.addChild(marquee);
```

## Links
Expand Down

0 comments on commit ed09c48

Please sign in to comment.