Search
createBranch
Beta
createBranch
Creates a branch and switches the editor to it.
framer.createBranch(options?: CreateBranchOptions): Promise<Branch
Use "createBranch" to check if the plugin has permission to call this method.
Parameters
options:CreateBranchOptions(optional) – Optional title and base branch for the new branch.
Returns
Promise<Branch>– The created branch.