1
0
Fork 0
fgdata/webgui/topics/Simulator/Properties.js

26 lines
591 B
JavaScript
Raw Normal View History

2015-01-25 12:02:20 +00:00
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
};
});