Skip to content

Commit 6c96011

Browse files
committed
docs(action-sheet): update angular to standalone
1 parent c5926f0 commit 6c96011

File tree

12 files changed

+24
-0
lines changed

12 files changed

+24
-0
lines changed

static/usage/v7/action-sheet/controller/angular/example_component_ts.md

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

45
import { ActionSheetController } from '@ionic/angular';
56

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonButton],
911
})
1012
export class ExampleComponent {
1113
constructor(private actionSheetCtrl: ActionSheetController) {}

static/usage/v7/action-sheet/inline/isOpen/angular/example_component_ts.md

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

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
8+
imports: [IonActionSheet, IonButton],
79
})
810
export class ExampleComponent {
911
isActionSheetOpen = false;

static/usage/v7/action-sheet/inline/trigger/angular/example_component_ts.md

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

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
8+
imports: [IonActionSheet, IonButton],
79
})
810
export class ExampleComponent {
911
public actionSheetButtons = [

static/usage/v7/action-sheet/role-info-on-dismiss/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 { IonActionSheet, IonButton } from '@ionic/angular/standalone';
34

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
78
styleUrls: ['./example.component.css'],
9+
imports: [IonActionSheet, IonButton],
810
})
911
export class ExampleComponent {
1012
public actionSheetButtons = [

static/usage/v7/action-sheet/theming/css-properties/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 { IonActionSheet, IonButton } from '@ionic/angular/standalone';
34

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
78
styleUrls: ['./example.component.css'],
9+
imports: [IonActionSheet, IonButton],
810
})
911
export class ExampleComponent {
1012
public actionSheetButtons = [

static/usage/v7/action-sheet/theming/styling/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 { IonActionSheet, IonButton } from '@ionic/angular/standalone';
34

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
78
styleUrls: ['./example.component.css'],
9+
imports: [IonActionSheet, IonButton],
810
})
911
export class ExampleComponent {
1012
public actionSheetButtons = [

static/usage/v8/action-sheet/controller/angular/example_component_ts.md

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

45
import { ActionSheetController } from '@ionic/angular';
56

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonButton],
911
})
1012
export class ExampleComponent {
1113
constructor(private actionSheetCtrl: ActionSheetController) {}

static/usage/v8/action-sheet/inline/isOpen/angular/example_component_ts.md

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

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
8+
imports: [IonActionSheet, IonButton],
79
})
810
export class ExampleComponent {
911
isActionSheetOpen = false;

static/usage/v8/action-sheet/inline/trigger/angular/example_component_ts.md

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

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
8+
imports: [IonActionSheet, IonButton],
79
})
810
export class ExampleComponent {
911
public actionSheetButtons = [

static/usage/v8/action-sheet/role-info-on-dismiss/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 { IonActionSheet, IonButton } from '@ionic/angular/standalone';
34

45
@Component({
56
selector: 'app-example',
67
templateUrl: 'example.component.html',
78
styleUrls: ['./example.component.css'],
9+
imports: [IonActionSheet, IonButton],
810
})
911
export class ExampleComponent {
1012
public actionSheetButtons = [

0 commit comments

Comments
 (0)