netboot/pixiecore/ui/ui.js
David Anderson 8e5c0d0793 pixiecore: Add a basic HTTP status UI.
The UI is optional and need to be explicitly activated, since I
don't want existing users to suddenly have an information-spewing
thing show up on their network.
2016-09-19 03:43:57 -07:00

17 lines
336 B
JavaScript

'use strict';
class MachineList extends HTMLElement {
attachedCallback() {
console.log('Augmented!');
}
}
class Machine extends HTMLElement {
attachedCallback() {
console.log('Augmented!');
}
}
document.registerElement('px-machine-list', MachineList);
document.registerElement('px-machine', Machine);