Skip to content

Commit

Permalink
docs(loading): update angular to standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Dec 26, 2024
1 parent 88ce008 commit 78929a8
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 16 deletions.
4 changes: 0 additions & 4 deletions static/usage/v7/loading/inline/angular.md

This file was deleted.

4 changes: 0 additions & 4 deletions static/usage/v7/loading/spinners/angular.md

This file was deleted.

12 changes: 12 additions & 0 deletions static/usage/v7/loading/theming/angular/example_component_ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```ts
import { Component } from '@angular/core';
import { IonButton, IonLoading } from '@ionic/angular/standalone';

@Component({
selector: 'app-example',
templateUrl: 'example.component.html',
styleUrls: ['example.component.css'],
imports: [IonButton, IonLoading],
})
export class ExampleComponent {}
```
2 changes: 2 additions & 0 deletions static/usage/v7/loading/theming/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import react_main_css from './react/main_css.md';
import vue from './vue.md';

import angular_example_component_html from './angular/example_component_html.md';
import angular_example_component_ts from './angular/example_component_ts.md';
import angular_global_css from './angular/global_css.md';

<Playground
Expand All @@ -24,6 +25,7 @@ import angular_global_css from './angular/global_css.md';
angular: {
files: {
'src/app/example.component.html': angular_example_component_html,
'src/app/example.component.ts': angular_example_component_ts,
'src/global.css': angular_global_css,
},
},
Expand Down
4 changes: 0 additions & 4 deletions static/usage/v8/loading/inline/angular.md

This file was deleted.

4 changes: 0 additions & 4 deletions static/usage/v8/loading/spinners/angular.md

This file was deleted.

12 changes: 12 additions & 0 deletions static/usage/v8/loading/theming/angular/example_component_ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```ts
import { Component } from '@angular/core';
import { IonButton, IonLoading } from '@ionic/angular/standalone';

@Component({
selector: 'app-example',
templateUrl: 'example.component.html',
styleUrls: ['example.component.css'],
imports: [IonButton, IonLoading],
})
export class ExampleComponent {}
```
2 changes: 2 additions & 0 deletions static/usage/v8/loading/theming/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import react_main_css from './react/main_css.md';
import vue from './vue.md';

import angular_example_component_html from './angular/example_component_html.md';
import angular_example_component_ts from './angular/example_component_ts.md';
import angular_global_css from './angular/global_css.md';

<Playground
Expand All @@ -24,6 +25,7 @@ import angular_global_css from './angular/global_css.md';
angular: {
files: {
'src/app/example.component.html': angular_example_component_html,
'src/app/example.component.ts': angular_example_component_ts,
'src/global.css': angular_global_css,
},
},
Expand Down

0 comments on commit 78929a8

Please sign in to comment.