mirror of
https://github.com/danderson/netboot.git
synced 2025-08-09 08:07:11 +02:00
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.
17 lines
336 B
JavaScript
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);
|