From 9ef969b94d60e90f7214edd0971676ba2b1245b8 Mon Sep 17 00:00:00 2001
From: Liam DeBeasi
+ Bubbling is a way of propagating events in the DOM. With bubbling, the event is first captured by the innermost element and then propagated upwards. +
+
+ Many Ionic components emit events of the same name that also bubble. For example, ionChange
is an event emitted by several components such as ion-radio-group
, ion-input
, and more. Developers can check the target
property on the event to see the component that the event originated from.
+
+ See MDN's Introduction to events guide for more information on bubbling. +
+- Bubbling is a way of propagating events in the DOM. With bubbling, the event is first captured by the innermost element and then propagated upwards. + Bubbling is a way of propagating events in the DOM. With bubbling, the event is first captured by the innermost + element and then propagated upwards.
- Many Ionic components emit events of the same name that also bubble. For example, ionChange
is an event emitted by several components such as ion-radio-group
, ion-input
, and more. Developers can check the target
property on the event to see the component that the event originated from.
+ Many Ionic components emit events of the same name that also bubble. For example, ionChange
is an event
+ emitted by several components such as ion-radio-group
, ion-input
, and more. Developers can
+ check the target
property on the event to see the component that the event originated from.
- See MDN's Introduction to events guide for more information on bubbling. + See{' '} + + MDN's Introduction to events guide + {' '} + for more information on bubbling.
Bubbling is a way of propagating events in the DOM. With bubbling, the event is first captured by the innermost diff --git a/plugins/docusaurus-plugin-ionic-component-api/index.js b/plugins/docusaurus-plugin-ionic-component-api/index.js index e5e5674c249..68eae58eed0 100644 --- a/plugins/docusaurus-plugin-ionic-component-api/index.js +++ b/plugins/docusaurus-plugin-ionic-component-api/index.js @@ -168,7 +168,7 @@ function renderEvents({ events }) { } return ` -| Name | Description | [Bubbles](../reference/glossary#event-bubbling) | +| Name | Description | [Bubbles](../reference/glossary#bubbling) | | --- | --- | --- | ${events.map((event) => `| \`${event.event}\` | ${formatMultiline(event.docs)} | \`${event.bubbles}\` |`).join('\n')}`; }