diff --git a/README.md b/README.md index 06e5694..c28c745 100644 --- a/README.md +++ b/README.md @@ -337,35 +337,35 @@ OverlayScrollbars(document.querySelector('#myElement'), {}, {
Events in depth
-> __Note__: Every event receives the `instance` from which it was fired as the first argument. Always. +> __Note__: Every event receives the `instance` from which it was invoked as the first argument. Always. ### `initialized` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | -Is fired after all generated elements, observers and events were appended to the DOM. +Is invoked after all generated elements, observers and events were appended to the DOM. ### `updated` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | | `onUpdatedArgs` | An `object` which describes the update in detail. | -> __Note__: If an update was triggered but nothing changed, the event won't be fired. +> __Note__: If an update was triggered but nothing changed, the event won't be invoked. -Is fired after the instace was updated. +Is invoked after the instace was updated. ### `destroyed` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | | `canceled` | An `boolean` which indicates whether the initialization was canceled and thus destroyed. | -Is fired after all generated elements, observers and events were removed from the DOM. +Is invoked after all generated elements, observers and events were removed from the DOM.
diff --git a/docs/v2/src/components/index.mdx b/docs/v2/src/components/index.mdx index abc0310..6dd21d5 100644 --- a/docs/v2/src/components/index.mdx +++ b/docs/v2/src/components/index.mdx @@ -324,35 +324,35 @@ OverlayScrollbars(document.querySelector('#myElement'), {}, {
Events in depth
-> __Note__: Every event receives the `instance` from which it was fired as the first argument. Always. +> __Note__: Every event receives the `instance` from which it was invoked as the first argument. Always. ### `initialized` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | -Is fired after all generated elements, observers and events were appended to the DOM. +Is invoked after all generated elements, observers and events were appended to the DOM. ### `updated` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | | `onUpdatedArgs` | An `object` which describes the update in detail. | -> __Note__: If an update was triggered but nothing changed, the event won't be fired. +> __Note__: If an update was triggered but nothing changed, the event won't be invoked. -Is fired after the instace was updated. +Is invoked after the instace was updated. ### `destroyed` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | | `canceled` | An `boolean` which indicates whether the initialization was canceled and thus destroyed. | -Is fired after all generated elements, observers and events were removed from the DOM. +Is invoked after all generated elements, observers and events were removed from the DOM. diff --git a/packages/overlayscrollbars/README.md b/packages/overlayscrollbars/README.md index 06e5694..c28c745 100644 --- a/packages/overlayscrollbars/README.md +++ b/packages/overlayscrollbars/README.md @@ -337,35 +337,35 @@ OverlayScrollbars(document.querySelector('#myElement'), {}, {
Events in depth
-> __Note__: Every event receives the `instance` from which it was fired as the first argument. Always. +> __Note__: Every event receives the `instance` from which it was invoked as the first argument. Always. ### `initialized` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | -Is fired after all generated elements, observers and events were appended to the DOM. +Is invoked after all generated elements, observers and events were appended to the DOM. ### `updated` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | | `onUpdatedArgs` | An `object` which describes the update in detail. | -> __Note__: If an update was triggered but nothing changed, the event won't be fired. +> __Note__: If an update was triggered but nothing changed, the event won't be invoked. -Is fired after the instace was updated. +Is invoked after the instace was updated. ### `destroyed` | arguments | description | | :--- | :--- | -| `instance` | The instance which fired the event. | +| `instance` | The instance which invoked the event. | | `canceled` | An `boolean` which indicates whether the initialization was canceled and thus destroyed. | -Is fired after all generated elements, observers and events were removed from the DOM. +Is invoked after all generated elements, observers and events were removed from the DOM.