This commit is contained in:
carson 2020-05-12 09:57:59 -07:00
parent 74d4481ada
commit f328a71c5d
2 changed files with 7 additions and 6 deletions

11
TODO.md
View File

@ -6,11 +6,6 @@
## TODOS
* `kutty-on="myEvent: ...""` attribute for handling custom events
* `kutty-requests` class on body
* polling cancellation API 205 code
* meta config tag
* focus recapture
* Testing
* polling
* merge
@ -18,6 +13,12 @@
* history
* kt-boost
* transition model for content swaps
* `kutty-on="myEvent: ...""` attribute for handling custom events
* `kutty-requests` class on body
* local references (e.g. kt-get="#foo")
* polling cancellation API 205 code
* meta config tag
* focus recapture
* kutty javascript API
* find
* findAll

View File

@ -209,7 +209,7 @@ This event is triggered when an error occurs during the swap phase
This event is triggered after kutty has collected parameters for inclusion in the request. It can be
used to include or update the parameters that kutty will send:
```html
```javascript
document.body.addEventListener('parameters.kutty', function(evt) {
evt.detail.parameters['auth_token'] = getAuthToken(); // add a new parameter into the mix
});