What's the correct approach to customize toolbar component?

How to properly customize buttons and actions in the toolbar component, inside our fresh created /pages components? I could not find nothing related to this in the docs...

The toolbar component

<div

[ngClass]="toolbarContainerCssClasses"
class="d-flex flex-stack"
>
<app-page-title
#ktPageTitle
class="page-title d-flex"
[ngClass]="pageTitleCssClasses"
></app-page-title>
<!-- begin::Actions -->
<div class="d-flex align-items-center py-1">
<!-- begin::Wrapper -->
<div class="me-4">
<!-- begin::Menu -->
<a
class="
btn btn-sm btn-flex btn-light btn-active-primary
fw-bolder
cursor-pointer
"
data-kt-menu-trigger="click"
data-kt-menu-placement="bottom-end"
data-kt-menu-flip="top-end"
>
<span
[inlineSVG]="'./assets/media/icons/duotune/general/gen031.svg'"
class="svg-icon svg-icon-5 svg-icon-gray-500 me-1"
></span>
Filter
</a>

<!-- end::Menu -->
</div>
<!-- end::Wrapper -->

<!-- begin::Button -->
<a
class="btn btn-sm btn-primary cursor-pointer"
data-bs-toggle="modal"
data-bs-target="#kt_modal_create_app"

>
Create
</a>
<!-- end::Button -->
</div>
<!-- end::Actions -->
</div>

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)

Hi,

You can change props of toolbar ui in the src/app/_metronic/layout/core/default-layout.config.ts file. (Don't forget clear your localstorage first).

Regards,
Keenthemes support

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(