> For the complete documentation index, see [llms.txt](https://dexiejs.typogram.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexiejs.typogram.co/dexie/dexie.events.md).

# Dexie.events()

Create a set of events

#### Sample

```javascript
function Car() {
    this.on = Dexie.Events(this, "move", "stop", "crash");
}

Car.prototype.move = function() {
    this.on.move.fire();
}

var car = new Car();
car.on('move', function() {
    alert ("Oh, it's moving!");
});
car.move();
```
