-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(demo): use standalone components
- Loading branch information
1 parent
d38ed85
commit 7836e65
Showing
8 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
projects/demo/src/app/component-way/component-way-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
projects/demo/src/app/component-way/component-way.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import { Component } from '@angular/core'; | ||
import { NgxScrollTopComponent } from 'projects/ngx-scrolltop/src/public-api'; | ||
|
||
@Component({ | ||
selector: 'app-component-way', | ||
templateUrl: './component-way.component.html', | ||
styleUrls: ['./component-way.component.scss'], | ||
standalone: true, | ||
imports: [NgxScrollTopComponent], | ||
}) | ||
export class ComponentWayComponent {} | ||
export default class ComponentWayComponent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
projects/demo/src/app/directive-way/directive-way-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
projects/demo/src/app/directive-way/directive-way.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
import { Component } from '@angular/core'; | ||
import { NgxScrollTopDirective } from 'projects/ngx-scrolltop/src/public-api'; | ||
|
||
@Component({ | ||
selector: 'app-directive-way', | ||
templateUrl: './directive-way.component.html', | ||
styleUrls: ['./directive-way.component.scss'], | ||
standalone: true, | ||
imports: [NgxScrollTopDirective], | ||
}) | ||
export class DirectiveWayComponent {} | ||
export default class DirectiveWayComponent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters