could you please help me with the following topic?
The following code snippet is a dashboard tile which I want to change it to draggable.
I can make the two p:graphicImage-s draggable easily but I would like that the whole dashboard tile would be draggable together.
Could you please help me how to do it??
Code: Select all
<div class="p-col-12 p-md-6 p-xl-3">
<div class="card overview-box">
<p:graphicImage name="#{dashboardBean.widgetPerfTodayEffect}"
library="rain-layout" />
<span class="overview-icon"> <p:graphicImage
name="#{dashboardBean.widgetPerfToday}" library="rain-layout" />
</span>
<div class="overview">
<span class="overview-title">#{msg['dashboard.sales.performance']}</span>
<h3>#{dashboardBean.perfToday} ms</h3>
<span><span>#{dashboardBean.perfYesterday} ms</span>
#{msg['dashboard.sales.yesterday']}</span>
</div>
</div>
</div>
Many thanks and best regards,
Krisztyan