SP-Dialog Size

Is it possible through code to change the size of the SP-Dialog

You can define size while opening a dialog

dialogElement.uxpShowModal({
    title:"Title",
    resize: "none",
    size: {
        width: 480,
        height: 320
    }
})

Sorry, can’t even find it in the docs now and I don’t remember what all the resize options are, but I know there’s at least both instead of none