Files
discord-decomp/_bundle/Module310.js
T
2026-11-01 12:12:55 +02:00

49 lines
1.3 KiB
JavaScript

// Metro module 310 (f311).
import { colorAttribute } from "./Module26";
import { ConditionallyIgnoredEventHandlers } from "./Module106";
import { get } from "./Module65";
import { dispatchCommand } from "./Module114";
let c319_2 = {
uiViewClassName: "AndroidDrawerLayout",
directEventTypes: {
topDrawerSlide: {
registrationName: "onDrawerSlide"
},
topDrawerStateChanged: {
registrationName: "onDrawerStateChanged"
},
topDrawerOpen: {
registrationName: "onDrawerOpen"
},
topDrawerClose: {
registrationName: "onDrawerClose"
}
},
validAttributes: {
keyboardDismissMode: true,
drawerBackgroundColor: colorAttribute,
drawerPosition: true,
drawerWidth: true,
drawerLockMode: true,
statusBarBackgroundColor: colorAttribute,
...ConditionallyIgnoredEventHandlers({
onDrawerSlide: true,
onDrawerStateChanged: true,
onDrawerOpen: true,
onDrawerClose: true
})
}
};
const r40 = get("AndroidDrawerLayout", () => c319_2);
const r43 = {
openDrawer: (a0) => {
dispatchCommand(a0, "openDrawer", []);
},
closeDrawer: (a0) => {
dispatchCommand(a0, "closeDrawer", []);
}
};
export default r40;
export { c319_2 as __INTERNAL_VIEW_CONFIG };
export { r43 as Commands };