Skip to content

Commit 8be1d51

Browse files
committed
Add readme for new events
1 parent 26f33f9 commit 8be1d51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Request lifecycle events are dispatched on the `<include-fragment>` element.
5252
- `load` - The request completed successfully.
5353
- `error` - The request failed.
5454
- `loadend` - The request has completed.
55+
- `include-fragment-replace` (cancelable) - The success response has been parsed. It comes with `event.detail.fragment` that will replace the current element.
56+
- `include-fragment-replaced` - The element has been replaced by the fragment.
5557

5658
```js
5759
const loader = document.querySelector('include-fragment')

0 commit comments

Comments
 (0)