feat(switch): update switch topics - #546
Open
Hristo313 wants to merge 13 commits into
Open
Conversation
ChronosSF
requested changes
Sep 4, 2026
|
|
||
| ### Prerequisites and Version Compatibility | ||
|
|
||
| Use a supported version of the {ProductName} package for your target framework. Keep the framework package, the Switch package, and the theme package on the same release version. |
Member
There was a problem hiding this comment.
same comment as for the button - there isn't a separate switch package
| <PlatformBlock for="React,WebComponents,Blazor"> | ||
|
|
||
| <DocsAside type="warning" title="Warning"> | ||
| The <ApiLink pkg="core" type="Switch" /> component doesn't work with the standard `<form>` element. Use `Form` instead. |
Member
There was a problem hiding this comment.
I don't know what that Form is... This needs a link or an elaboration. My guess is that it's actually a Blazor only note.
| npm install igniteui-angular | ||
| ``` | ||
|
|
||
| Then import the `IgxSwitchModule` in an NgModule application, or import the `IgxSwitchComponent` as a standalone dependency: |
Member
There was a problem hiding this comment.
Like with button this is talking about modules but is importing the component.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #537
Update the switch xplat topics
Also updated the samples:
Angular -> IgniteUI/igniteui-angular-samples#4025
React -> IgniteUI/igniteui-react-examples#1102
WC -> IgniteUI/igniteui-wc-examples#1254
Blazor -> IgniteUI/igniteui-blazor-examples#1302
Checklist:
preview/beta./page.mdxor../relative/path.mdx(.mdxextension required)IgxSelectComponent,<igx-combo>code blocksfor the names of classes / tags / propertiescode blockscheck-api/mdxnpm commandsllms.descriptionmetadata and runnpm run check:llms-metadata