如何在 LimberGridView 的左下角获取调整大小助手?

How to get resize helper on the left bottom corner in LimberGridView?

我正在尝试呈现 LimberGridView。我设法自定义拖放。我在右下角有调整大小助手,但我不知道如何在左下角获得调整大小助手。我已经阅读了 wiki 页面,但我在上面找不到任何内容。我是这样初始化的。

const limberGridView = new LimberGridView({
    el: el.current,
    itemMouseDownMoveCheck: itemMouseDownMoveCheckFn,
    callbacks: {
        renderContent: renderContentFn,
        renderComplete: renderCompleteFn,
        resizeComplete: resizeCompleteFn,
        moveComplete: moveCompleteFn,
        addComplete: addCompleteFn,
        removeComplete: removeCompleteFn,
        renderPlugin: renderPluginFn,
        removePlugin: removePluginFn,
    },
    positionData: positionData,
});

您需要在 publicConstants 下添加 showBottomLeftResizeGuide: true

您可以在左下角使用调整大小助手或默认移动助手。但不是两者。可以自定义默认移动助手,因此您将不再需要它。您可以在左下角有调整大小助手和自定义移动助手。

const limberGridView = new LimberGridView({
    el: el.current,
    itemMouseDownMoveCheck: itemMouseDownMoveCheckFn,
    callbacks: {
        renderContent: renderContentFn,
        renderComplete: renderCompleteFn,
        resizeComplete: resizeCompleteFn,
        moveComplete: moveCompleteFn,
        addComplete: addCompleteFn,
        removeComplete: removeCompleteFn,
        renderPlugin: renderPluginFn,
        removePlugin: removePluginFn,
    },
    publicConstants: {
        showBottomLeftResizeGuide: true
    },
    positionData: positionData,
});