Skip to content

Commit f41aa1f

Browse files
committed
docs(reorder): update angular to standalone
1 parent c5926f0 commit f41aa1f

File tree

12 files changed

+24
-0
lines changed

12 files changed

+24
-0
lines changed

static/usage/v7/reorder/basic/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 { IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
911
})
1012
export class ExampleComponent {
1113
handleReorder(ev: CustomEvent<ItemReorderEventDetail>) {

static/usage/v7/reorder/custom-icon/angular/example_component_ts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
```ts
22
import { Component } from '@angular/core';
3+
import { IonIcon, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

@@ -9,6 +10,7 @@ import { pizza } from 'ionicons/icons';
910
@Component({
1011
selector: 'app-example',
1112
templateUrl: 'example.component.html',
13+
imports: [IonIcon, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
1214
})
1315
export class ExampleComponent {
1416
constructor() {

static/usage/v7/reorder/custom-scroll-target/angular/example_component_ts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
```ts
22
import { Component } from '@angular/core';
3+
import { IonContent, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
910
styleUrls: ['./example.component.css'],
11+
imports: [IonContent, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
1012
})
1113
export class ExampleComponent {
1214
handleReorder(ev: CustomEvent<ItemReorderEventDetail>) {

static/usage/v7/reorder/toggling-disabled/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, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonButton, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
911
})
1012
export class ExampleComponent {
1113
public isDisabled = true;

static/usage/v7/reorder/updating-data/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 { IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
911
})
1012
export class ExampleComponent {
1113
items = [1, 2, 3, 4, 5];

static/usage/v7/reorder/wrapper/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 { IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
911
})
1012
export class ExampleComponent {
1113
handleReorder(ev: CustomEvent<ItemReorderEventDetail>) {

static/usage/v8/reorder/basic/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 { IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
911
})
1012
export class ExampleComponent {
1113
handleReorder(ev: CustomEvent<ItemReorderEventDetail>) {

static/usage/v8/reorder/custom-icon/angular/example_component_ts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
```ts
22
import { Component } from '@angular/core';
3+
import { IonIcon, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

@@ -9,6 +10,7 @@ import { pizza } from 'ionicons/icons';
910
@Component({
1011
selector: 'app-example',
1112
templateUrl: 'example.component.html',
13+
imports: [IonIcon, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
1214
})
1315
export class ExampleComponent {
1416
constructor() {

static/usage/v8/reorder/custom-scroll-target/angular/example_component_ts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
```ts
22
import { Component } from '@angular/core';
3+
import { IonContent, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
910
styleUrls: ['./example.component.css'],
11+
imports: [IonContent, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
1012
})
1113
export class ExampleComponent {
1214
handleReorder(ev: CustomEvent<ItemReorderEventDetail>) {

static/usage/v8/reorder/toggling-disabled/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, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup } from '@ionic/angular/standalone';
34

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

67
@Component({
78
selector: 'app-example',
89
templateUrl: 'example.component.html',
10+
imports: [IonButton, IonItem, IonLabel, IonList, IonReorder, IonReorderGroup],
911
})
1012
export class ExampleComponent {
1113
public isDisabled = true;

0 commit comments

Comments
 (0)