Skip to content

Conversation

Diaan
Copy link
Collaborator

@Diaan Diaan commented Sep 10, 2025

  • Updated package.json to include @webcomponents/scoped-custom-element-registry and @sl-design-system/data-source dependencies.
  • Enhanced app.component.ts to implement data fetching and pagination.
  • Modified app.component.html to display quotes with pagination controls.
  • Updated app.module.ts to import PaginatorComponent.
  • Registered paginator component in main.ts.
  • Adjusted polyfills.ts for scoped custom element registry.

- Updated package.json to include @webcomponents/scoped-custom-element-registry and @sl-design-system/data-source dependencies.
- Enhanced app.component.ts to implement data fetching and pagination.
- Modified app.component.html to display quotes with pagination controls.
- Updated app.module.ts to import PaginatorComponent.
- Registered paginator component in main.ts.
- Adjusted polyfills.ts for scoped custom element registry.
@@ -1,2 +1,11 @@
<h1>Hello Angular Demo!</h1>
<sl-button variant="info" size="lg">Button</sl-button>

<ul>
<ng-template ngFor let-item [ngForOf]="quotes">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not the new @for syntax?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants