Files
monpas/public/js/monpas/models/sopmodel.js
T
2021-07-10 16:25:16 +02:00

39 lines
675 B
JavaScript

$(function(){
mh.initSopModel = function(){
function fAddIets(p){
var dit = this;
this.id = p.id;
}
if (mh.SopModel !== undefined){
mh.SopModel.initModel();
}
else {
mh.SopModel = {
dingen : ko.observableArray([]),
initBindings :function(){
var self = mh.SopModel;
if (!ko.dataFor(document.getElementById('pagsophoofd')) ) {
ko.applyBindings(mh.SopModel, document.getElementById("pagsophoofd"));
}
self.initModel();
},
initModel: function(){
var self =mh.SopModel;
}
} ; // definition van model
mh.SopModel.initBindings();
} // else
}// function init mh.SopModel
});