Skip to content

Commit 223a1fc

Browse files
docs(app): update angular to standalone (#3912)
1 parent 97da478 commit 223a1fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

static/usage/v8/app/set-focus/angular/example_component_ts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
```ts
22
import { Component } from '@angular/core';
3+
import { IonButton, IonRadio, IonRadioGroup } from '@ionic/angular/standalone';
34

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
78
styleUrls: ['example.component.css'],
9+
imports: [IonButton, IonRadio, IonRadioGroup],
810
})
911
export class ExampleComponent {
1012
focusElement(id: string) {

0 commit comments

Comments
 (0)