decord/source/actions/LayerActionCreators.tsx

21 lines
622 B
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 5845
// Function ID: 5846
2026-07-20 16:05:17 +00:00
// Name: pushLayer
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 2]
2026-07-20 16:05:17 +00:00
// Exports: popAllLayers, popLayer, pushLayer
2026-07-29 08:29:29 +00:00
// Module 5845 (pushLayer)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("actions/LayerActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const pushLayer = function pushLayer(component) {
2026-07-29 08:29:29 +00:00
let obj = importDefault(709);
2026-07-20 16:05:17 +00:00
obj = { type: "LAYER_PUSH", component };
obj.dispatch(obj);
};
export const popLayer = function popLayer() {
2026-07-29 08:29:29 +00:00
importDefault(709).dispatch({ type: "LAYER_POP" });
2026-07-20 16:05:17 +00:00
};
export const popAllLayers = function popAllLayers() {
2026-07-29 08:29:29 +00:00
importDefault(709).dispatch({ type: "LAYER_POP_ALL" });
2026-07-20 16:05:17 +00:00
};