Skip to content

Commit 2ffacfb

Browse files
committed
docs(button): update angular to standalone
1 parent 97cba07 commit 2ffacfb

File tree

17 files changed

+28
-75
lines changed

17 files changed

+28
-75
lines changed

static/usage/v7/button/basic/angular.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

static/usage/v7/button/expand/angular.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

static/usage/v7/button/fill/angular.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

static/usage/v7/button/shape/angular.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

static/usage/v7/button/size/angular.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

static/usage/v7/button/text-wrapping/angular.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

static/usage/v7/button/theming/colors/angular.md

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
```ts
2+
import { Component } from '@angular/core';
3+
import { IonButton } from '@ionic/angular/standalone';
4+
5+
@Component({
6+
selector: 'app-example',
7+
templateUrl: 'example.component.html',
8+
styleUrls: ['example.component.css'],
9+
imports: [IonButton],
10+
})
11+
export class ExampleComponent {}
12+
```

static/usage/v7/button/theming/css-properties/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import vue from './vue.md';
99

1010
import angular_example_component_html from './angular/example_component_html.md';
1111
import angular_example_component_css from './angular/example_component_css.md';
12+
import angular_example_component_ts from './angular/example_component_ts.md';
1213

1314
<Playground
1415
version="7"
@@ -25,6 +26,7 @@ import angular_example_component_css from './angular/example_component_css.md';
2526
files: {
2627
'src/app/example.component.html': angular_example_component_html,
2728
'src/app/example.component.css': angular_example_component_css,
29+
'src/app/example.component.ts': angular_example_component_ts,
2830
},
2931
},
3032
}}

static/usage/v8/button/basic/angular.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)