Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 PrimeFacesdashboard组件创建小部件。根据用户的选择,他应该能够折叠/关闭小部件。我怎样才能做到这一点?
dashboard
在仪表板项目中使用可关闭的面板;
<p:panel id="pnl" toggleable="true" closable="true" toggleSpeed="500" closeSpeed="500" widgetVar="panel">
祝你好运!