Closed BySly closed 5 years ago
@BySly I'm open to adding support for <slots>
, curious how you guys would like to use it, so I'd love some feedback.
I'm thinking we could have 2 slots 1) Panel Title 2) Panel Body
like this:
and the API would work something like this:
$this.showPanel({
titleSlot: `your HTML goes here`,
bodySlot: `your HTML goes here`
});
Let me know what you think.
@officert yep, that's good idea with title and body.
What about using renderless components? Then the user can manipulate the UI as they wish
Hi. I think that it's too uncomfortable to make different сomponents for parent
<slideout-panel>
component every time. Maybe we have some way to use<slot>
tag to make component more reusable?