# Changelog

All notable changes to this project will be documented in this file.

## [2.1.1] - 2026-08-03

### Feature added - `Event.isTrusted`
`true` if the event was generated by a user action, and `false` if it was created or modified by a script.

```angular2html
document.querySelector('.jsa').addEventListener( 'jsa:onToggle', (e) => {
   console.log( e.detail );
});
```

## [2.1.0] - 2026-07-31

### Feature built

- Updated the dist files to get the latest build
- Being a new feature this is the correct version bump

## [2.0.9] - 2026-07-31

### Feature added

- Added more details to the return events

## [2.0.8] - 2026-07-31

### Feature added

- Added `onLoad` and `onToggle` events
- Removed `debug` option
- Updated to Node 26.5.0




## [2.0.6] - 2026-07-10

### Hot fix

- Renamed package license to MIT for consistency with the source code license.


## [2.0.5] - 2026-07-10

### Hot fix

- Removed image rendering for XSS safety in the README.md file.

## [2.0.4] - 2026-07-10

### Hot fix

- Updated image rendering for XSS safety in the README.md file.
- Updated version to 2.0.4
- 
## [2.0.3] - 2025-11-03

### Hot fix

- Corrected click prevention for links nested in accordion.