Skip to content

Commit

Permalink
docs(item-divider): update angular to standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Dec 23, 2024
1 parent 1f0c904 commit 70bbc9d
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 134 deletions.
35 changes: 0 additions & 35 deletions static/usage/v7/item-divider/basic/angular.md

This file was deleted.

32 changes: 0 additions & 32 deletions static/usage/v7/item-divider/theming/colors/angular.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```ts
import { Component } from '@angular/core';
import { IonItemDivider, IonLabel } from '@ionic/angular/standalone';

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

import angular_example_component_html from './angular/example_component_html.md';
import angular_example_component_css from './angular/example_component_css.md';
import angular_example_component_ts from './angular/example_component_ts.md';

<Playground
version="7"
Expand All @@ -25,6 +26,7 @@ import angular_example_component_css from './angular/example_component_css.md';
files: {
'src/app/example.component.html': angular_example_component_html,
'src/app/example.component.css': angular_example_component_css,
'src/app/example.component.ts': angular_example_component_ts,
},
},
}}
Expand Down
35 changes: 0 additions & 35 deletions static/usage/v8/item-divider/basic/angular.md

This file was deleted.

32 changes: 0 additions & 32 deletions static/usage/v8/item-divider/theming/colors/angular.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```ts
import { Component } from '@angular/core';
import { IonItemDivider, IonLabel } from '@ionic/angular/standalone';

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

import angular_example_component_html from './angular/example_component_html.md';
import angular_example_component_css from './angular/example_component_css.md';
import angular_example_component_ts from './angular/example_component_ts.md';

<Playground
version="8"
Expand All @@ -25,6 +26,7 @@ import angular_example_component_css from './angular/example_component_css.md';
files: {
'src/app/example.component.html': angular_example_component_html,
'src/app/example.component.css': angular_example_component_css,
'src/app/example.component.ts': angular_example_component_ts,
},
},
}}
Expand Down

0 comments on commit 70bbc9d

Please sign in to comment.