You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use a custom element to trigger the dropdown?
I've tried multiple things, but it seems the top element is still using
Instead of a button, I want to use an icon. Or have customisation like the below image found in the old docs
Using that code snippet. This is how it currently shows up.
The text was updated successfully, but these errors were encountered:
@Chappie74 the dropdown component have a tagName prop that you can use to define the tag that will wrap the trigger, if you want to change the content of the trigger you can use the trigger slot.
For example, let say that you want to use a div as the wrapper and add and span with an icon:
<t-dropdowntag-name="div"><template#trigger><spanclass="wharver">Open me <SVG.... /></span></template><!-- content of the dropdown --></t-dropdown>
Is it possible to use a custom element to trigger the dropdown?
I've tried multiple things, but it seems the top element is still using
Instead of a button, I want to use an icon. Or have customisation like the below image found in the old docs
Using that code snippet. This is how it currently shows up.
The text was updated successfully, but these errors were encountered: