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

16 lines
448 B
JavaScript
Raw Normal View History

define([
'jquery', 'knockout', 'text!./Config.html', 'fgcommand', 'kojqui/button', 'kojqui/buttonset'
], function(jquery, ko, htmlString,fgCommand ) {
function ViewModel(params) {
var self = this;
self.aiEnabled = ko.observable().extend({ fgPropertyGetSet: "/sim/traffic-manager/enabled" });
}
// Return component definition
return {
viewModel : ViewModel,
template : htmlString
};
});