1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

Basic PID gui

This commit is contained in:
Pawel Spychalski (DzikuVx) 2021-04-05 15:46:13 +02:00
parent 6c8322acd1
commit 0101ee329d
6 changed files with 232 additions and 21 deletions

View file

@ -27,7 +27,22 @@ let ProgrammingPidCollection = function () {
$container.show();
};
self.init = function ($element) {
$container = $element;
};
self.render = function () {
let $table = $container.find(".pid__table")
$table.find("tbody tr").remove();
for (let k in self.get()) {
if (self.get().hasOwnProperty(k)) {
self.get()[k].render(k, $table);
}
}
GUI.switchery();
};
return self;
};