I noticed in the documents that HTML components cannot be used directly in Angular, however, the drawer is displayed in the angular demo.
I've attemtped to use the drawer within a for loop (ngFor) and I'm unable to get it to function (i.e open the drawer).
I'm using a object's ID for the button ID :
<button id="{{listid}}_AddCard"
class="btn btn-outline btn-outline-dashed btn-outline-primary btn-active-light-primary btn-hover-rise me-5">
Add Card
</button>
<div id="kt_drawer_example_basic" class="bg-white" data-kt-drawer="true" data-kt-drawer-activate="true"
[attr.data-kt-drawer-toggle]="listid+"_AddCard""
data-kt-drawer-close="#board_view_settings_close"
data-kt-drawer-width="500px">
Hi,
In your code I don't see id
attribute, it should be unique (and based on this id you have to rename 'close+toggle' attribute. Check the example from 'src/_metronic/partials/layout/activity-drawer/ActivityDrawer.tsx'.
Regards,
Keenthemes support