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

Returns

  • Promise<Branch> – The created branch.