Converted a significant amount of files from js to ts.
This commit is contained in:
25
modules/menus/audio/index.ts
Normal file
25
modules/menus/audio/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import DropdownMenu from "../DropdownMenu.js";
|
||||
import { activeDevices } from "./active/index.js";
|
||||
import { availableDevices } from "./available/index.js";
|
||||
|
||||
export default () => {
|
||||
return DropdownMenu({
|
||||
name: "audiomenu",
|
||||
transition: "crossfade",
|
||||
child: Widget.Box({
|
||||
class_name: "menu-items audio",
|
||||
hpack: "fill",
|
||||
hexpand: true,
|
||||
child: Widget.Box({
|
||||
vertical: true,
|
||||
hpack: "fill",
|
||||
hexpand: true,
|
||||
class_name: "menu-items-container",
|
||||
children: [
|
||||
activeDevices(),
|
||||
availableDevices(),
|
||||
],
|
||||
}),
|
||||
}),
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user