Two question to that:
1) Use pe:badge on right top corner... I tried this, but it´s always only showing after the pe:fab:
Code: Select all
<pe:fab id="btnFab" icon="fa fa-question" iconActive="fa fa-times"
style="background: green;">
</pe:fab>
<pe:badge content="1" for="btnFab" position="top-right"/>
I´ve tried this, but this is not working?
Code: Select all
<pe:fab id="btnFab" icon="fa fa-question" iconActive="fa fa-times"
style="background: green;">
<p:ajax event="open" listener="#{mybean.doOpenWidget}"
update=":chatPanel"
oncomplete="loadScrollPanelToEndWidget();" global="false" />
<p:ajax event="close" listener="#{mybean.doCloseWidget}"
global="false" />
</pe:fab>