This is (should be) a simple question.
I’d like to create a component like the Facebook notification button (so if you click it a drop down menu appears, and there is the “badge” with the number of unread notification).
I thought to customize the default combo box component (it has the popup and the toggle button), by removing the textfield and the arrow inside the toggle button, and by adding the toggle button inside a canvas so I can absolutely position the badge.
So.. I want to “export” some basic behavior, and the possibility to further stylish the component (like setting a template for the toggle button, for the badge and for each item in the list).
I can’t find how can I achieve this.. make a “first” level of style so that people who use my component don’t know it is a combo box, but instead they can set my properties (like “ButtonContent”, “NotificationItem” and “Badge”)…
Thank you.
Francesco
I decided not to style the combo box, but to create a new component (strongly inspired by the combo box)