-
Notifications
You must be signed in to change notification settings - Fork 160
fix(*): add tile manager to skills - 21.1.x #17058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||||||||||||||||||||
| # Layout Manager & Dock Manager | ||||||||||||||||||||||||
| # Layout Manager, Dock Manager & Tile Manager | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| > **Part of the [`igniteui-angular-components`](../SKILL.md) skill hub.** | ||||||||||||||||||||||||
| > For app setup, providers, and import patterns — see [`setup.md`](./setup.md). | ||||||||||||||||||||||||
|
|
@@ -7,6 +7,7 @@ | |||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| - [Layout Manager Directives](#layout-manager-directives) | ||||||||||||||||||||||||
| - [Dock Manager](#dock-manager) | ||||||||||||||||||||||||
| - [Tile Manager](#tile-manager) | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
@@ -411,6 +412,133 @@ export class DockManagerComponent { | |||||||||||||||||||||||
| 5. **Premium component** — requires a licensed Ignite UI subscription; verify availability before recommending to users | ||||||||||||||||||||||||
| 6. **Not part of `igniteui-angular`** — do not import from `igniteui-angular` entry points; all Dock Manager types come from `igniteui-dockmanager` | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ## Tile Manager | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| > **Docs:** [Tile Manager (Angular)](https://www.infragistics.com/products/ignite-ui-angular/angular/components/tile-manager) | ||||||||||||||||||||||||
| > **Full API Docs:** [Tile Manager Web Component](https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/layouts/tile-manager.html) | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| The Tile Manager is a **layout Web Component** that displays content in individual tiles users can **rearrange and resize**. It is implemented as an `igc-tile-manager` container with one or more `igc-tile` children. | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ### Installation | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||
| npm install igniteui-webcomponents | ||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ### Setup | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| Register the Tile Manager Web Component before bootstrap: | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ```typescript | ||||||||||||||||||||||||
| import { defineComponents, IgcTileManagerComponent } from 'igniteui-webcomponents'; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| defineComponents(IgcTileManagerComponent); | ||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| Add `CUSTOM_ELEMENTS_SCHEMA` to any component using `<igc-tile-manager>`: | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| ```typescript | ||||||||||||||||||||||||
| import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| @Component({ | ||||||||||||||||||||||||
| selector: 'app-tile-manager', | ||||||||||||||||||||||||
| templateUrl: './tile-manager.component.html', | ||||||||||||||||||||||||
|
Comment on lines
+443
to
+447
|
||||||||||||||||||||||||
| import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-tile-manager', | |
| templateUrl: './tile-manager.component.html', | |
| import { ChangeDetectionStrategy, Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-tile-manager', | |
| templateUrl: './tile-manager.component.html', | |
| changeDetection: ChangeDetectionStrategy.OnPush, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Tile Manager setup snippet says to register the web component “before bootstrap”, but (unlike the Dock Manager section above) it doesn’t specify the concrete placement (e.g.,
main.tsbeforebootstrapApplication). Adding that call-site guidance would prevent users from registering too late and getting “unknown element” behavior.