1
0
Fork 0
fgdata/webgui/topics/Simulator/Properties.js
2015-02-04 21:05:55 +01:00

25 lines
591 B
JavaScript

define([
'jquery', 'knockout', 'text!./Properties.html',
], function(jquery, ko, htmlString) {
function PropertyViewModel() {
var self = this;
self.name = ko.observable('');
self.value = ko.observable('');
self.children = ko.observableArray([]);
}
function ViewModel(params) {
var self = this;
var properties = ko.observableArray([]);
}
ViewModel.prototype.dispose = function() {
}
// Return component definition
return {
viewModel : ViewModel,
template : htmlString
};
});