上QQ阅读APP看书,第一时间看更新
Displaying notifications using the NotificationBar component
The NotificationBar
is a component to display notifications as a fixed positioned panel either on top or bottom of the page. As the notification bar is a Panel component, you can place other JSF components inside it. You can use client-side API methods show()
and hide()
respectively to show and hide the notification bar through the widgetVar
value.