To pass data into the view, the generic "job" is set up as so:
SCHEDULER.every '1m', :first_in => 0 do |job|
send_event('widget_id', { })
end
In the view, it is processed as such:
<li data-foreach-item="items">
<span class="label" data-bind="item.label"></span>
<span class="value" data-bind="item.value"></span>
</li>
I am not sure how to pass in a hash (or more broadly, collection) that is able to be read in that label, value format. If someone could point me in the right direction I sure would appreciate it. I can't find any helpful documentation.