A common JS code is something as: $("#myId").DataTable({responsive:true}).
Although in an ideal world, {responsive:true} should be type, it is not always the case that we have the time/will to do it. Hence a shortcut to create the object easily in JSweet would be:
A common JS code is something as:
$("#myId").DataTable({responsive:true})
. Although in an ideal world,{responsive:true}
should be type, it is not always the case that we have the time/will to do it. Hence a shortcut to create the object easily in JSweet would be:$("#myId").DataTable($map("responsive",true))