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 your feature request related to a problem? Please describe.
When search results return nothing, the UI is blank
Describe the solution you'd like
Add a slot "noSearchResults" to let us provide a UI for no search results.
Maybe consider adding a few more slots to cover the basics, like an scoped emoji slot.
I'm replacing the default emojis with emojis from twemoji. twemoji does not use unicode, it uses images, which forces vue-users to do v-html.
I thought about adding slots in positions like ["beforeCategories", "afterCategories", "afterSearch", "afterEmojis"], soon it would be customizable for everyone, but that may be polluted :/
You could set data of emoji as string with the code of image, see EmojiItem.vue
Yah I agree. Slots are really, really convenient, but you don't want to overuse them. But I do think this lib should provide the important slots. Whats "important" is up to you, but I don't think it includes the generic "beforeX/afterX" slots.
Is your feature request related to a problem? Please describe.
When search results return nothing, the UI is blank
Describe the solution you'd like
Add a slot "noSearchResults" to let us provide a UI for no search results.
Maybe consider adding a few more slots to cover the basics, like an scoped
emoji
slot.I'm replacing the default emojis with emojis from twemoji. twemoji does not use unicode, it uses images, which forces vue-users to do
v-html
.Potential usage:
Awesome library, thanks.
The text was updated successfully, but these errors were encountered: