Skip to content

Add paginator and data source functionality to angular-demo app#2

Open
Diaan wants to merge 1 commit into
mainfrom
fix/paginator
Open

Add paginator and data source functionality to angular-demo app#2
Diaan wants to merge 1 commit into
mainfrom
fix/paginator

Conversation

@Diaan

@Diaan Diaan commented Sep 10, 2025

Copy link
Copy Markdown
Collaborator
  • 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.
<sl-button variant="info" size="lg">Button</sl-button>

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

Copy link
Copy Markdown
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