diff --git a/docs/api/radio.md b/docs/api/radio.md
index d6ad9744e34..c22b839f24e 100644
--- a/docs/api/radio.md
+++ b/docs/api/radio.md
@@ -40,7 +40,7 @@ import LabelPlacement from '@site/static/usage/v8/radio/label-placement/index.md
By default, the radio group uses strict equality (`===`) to determine if an option is selected. This can be overridden by providing a property name or a function to the `compareWith` property.
-import UsingComparewith from '@site/static/usage/v7/radio/using-comparewith/index.md';
+import UsingComparewith from '@site/static/usage/v8/radio/using-comparewith/index.md';
@@ -110,7 +110,7 @@ Using the modern syntax involves removing the `ion-label` and passing the label
import Migration from '@site/static/usage/v8/radio/migration/index.md';
-
+
:::note
In past versions of Ionic, `ion-item` was required for `ion-radio` to function properly. Starting in Ionic 7.0, `ion-radio` should only be used in an `ion-item` when the item is placed in an `ion-list`. Additionally, `ion-item` is no longer required for `ion-radio` to function properly.
diff --git a/docs/api/toast.md b/docs/api/toast.md
index fc0ee71cd85..a111e574566 100644
--- a/docs/api/toast.md
+++ b/docs/api/toast.md
@@ -76,10 +76,10 @@ import PositionAnchor from '@site/static/usage/v8/toast/position-anchor/index.md
Toasts can be swiped to dismiss by using the `swipeGesture` property. This feature is position-aware, meaning the direction that users need to swipe will change based on the value of the `position` property. Additionally, the distance users need to swipe may be impacted by the `positionAnchor` property.
-import SwipeGesture from '@site/static/usage/v7/toast/swipe-gesture/index.md';
+import SwipeGesture from '@site/static/usage/v8/toast/swipe-gesture/index.md';
-
+
## Layout
Button containers within the toast can be displayed either on the same line as the message or stacked on separate lines using the `layout` property. The stacked layout should be used with buttons that have long text values. Additionally, buttons in a stacked toast layout can use a `side` value of either `start` or `end`, but not both.
diff --git a/static/usage/v8/radio/using-comparewith/angular/example_component_html.md b/static/usage/v8/radio/using-comparewith/angular/example_component_html.md
new file mode 100644
index 00000000000..1e5e93819fa
--- /dev/null
+++ b/static/usage/v8/radio/using-comparewith/angular/example_component_html.md
@@ -0,0 +1,9 @@
+```html
+
+
+
+ {{ food.name }}
+
+
+
+```
diff --git a/static/usage/v8/radio/using-comparewith/angular/example_component_ts.md b/static/usage/v8/radio/using-comparewith/angular/example_component_ts.md
new file mode 100644
index 00000000000..d7f803aea0b
--- /dev/null
+++ b/static/usage/v8/radio/using-comparewith/angular/example_component_ts.md
@@ -0,0 +1,39 @@
+```ts
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-example',
+ templateUrl: 'example.component.html',
+})
+export class ExampleComponent {
+ foods = [
+ {
+ id: 1,
+ name: 'Apples',
+ type: 'fruit',
+ },
+ {
+ id: 2,
+ name: 'Carrots',
+ type: 'vegetable',
+ },
+ {
+ id: 3,
+ name: 'Cupcakes',
+ type: 'dessert',
+ },
+ ];
+
+ compareWith(o1, o2) {
+ return o1.id === o2.id;
+ }
+
+ handleChange(ev) {
+ console.log('Current value:', JSON.stringify(ev.target.value));
+ }
+
+ trackItems(index: number, item: any) {
+ return item.id;
+ }
+}
+```
diff --git a/static/usage/v8/radio/using-comparewith/demo.html b/static/usage/v8/radio/using-comparewith/demo.html
new file mode 100644
index 00000000000..39805ea0b92
--- /dev/null
+++ b/static/usage/v8/radio/using-comparewith/demo.html
@@ -0,0 +1,67 @@
+
+
+