Skip to content

Commit

Permalink
Merge pull request #6015 from IgniteUI/ESShared/XPlaform_en_igniteui-…
Browse files Browse the repository at this point in the history
…xplat-docs-make-pr_2024.12.11.1

Changes from igniteui-xplat-docs-make-pr for en
  • Loading branch information
HUSSAR-mtrela authored Dec 16, 2024
2 parents 5e7fed0 + dfc60ec commit fa46eb9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions en/components/menus/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,41 @@ The following example demonstrates the vertical orientation of the Angular Toolb
</code-view>


### Color Editor

You can add a custom color editor tool to the the Angular Toolbar, which will also work with the Command event to perform custom styling to your application.

```html
<igx-toolbar
name="toolbar"
#toolbar>
<igx-tool-action-color-editor
title="Series Brush"
name="colorEditorTool"
#colorEditorTool>
</igx-tool-action-color-editor>
</igx-toolbar>
```

```ts
<igc-toolbar
name="toolbar"
id="toolbar">
<igc-tool-action-color-editor
title="Series Brush Color"
name="colorEditorTool"
id="colorEditorTool">
</igc-tool-action-color-editor>
</igc-toolbar>
```

The following example demonstrates styling the Angular Data Chart series brush with the Color Editor tool. <code-view style="height: 600px" alt="Angular Color Editor Support"
data-demos-base-url="{environment:dvDemosBaseUrl}"
iframe-src="{environment:dvDemosBaseUrl}/charts/toolbar/color-editor-support"
github-src="charts/toolbar/color-editor-support">
</code-view>


<!-- ## Styling/Theming
The icon component can be styled by using it's `BaseTheme` property directly to the `Toolbar`.
Expand Down
Binary file added en/images/color-editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa46eb9

Please sign in to comment.