Stairs/web/static/assets/ts/components/page-firmware.ts
2017-05-06 15:27:20 +02:00

19 lines
453 B
TypeScript

import template = require('text!./page-firmware.html');
import ko = require('knockout');
import stairs = require('stairs');
class FirmwareController
{
// public Stairs = stairs.Stairs.instance();
public Host = ko.observable(location.hostname);
public Port = ko.observable(location.port);
public Path = ko.observable("/updateFirmware");
public updateFirmware = () =>
{
}
}
export = { viewModel: FirmwareController, template: template };