Documentation ¶
Index ¶
- Constants
- func ApplyPortableLayout(ctx context.Context, tabId string, layout PortableLayout) error
- func BootstrapNewWorkspaceLayout(ctx context.Context, workspace *waveobj.Workspace) error
- func BootstrapStarterLayout(ctx context.Context) error
- func GetLayoutIdForTab(ctx context.Context, tabId string) (string, error)
- func QueueLayoutAction(ctx context.Context, layoutStateId string, actions ...waveobj.LayoutActionData) error
- func QueueLayoutActionForTab(ctx context.Context, tabId string, actions ...waveobj.LayoutActionData) error
- type PortableLayout
Constants ¶
View Source
const ( LayoutActionDataType_Insert = "insert" LayoutActionDataType_InsertAtIndex = "insertatindex" LayoutActionDataType_Remove = "delete" LayoutActionDataType_ClearTree = "clear" )
Variables ¶
This section is empty.
Functions ¶
func ApplyPortableLayout ¶
func ApplyPortableLayout(ctx context.Context, tabId string, layout PortableLayout) error
func BootstrapStarterLayout ¶
func QueueLayoutAction ¶
func QueueLayoutActionForTab ¶
Types ¶
type PortableLayout ¶
type PortableLayout []struct { IndexArr []int `json:"indexarr"` Size *uint `json:"size,omitempty"` BlockDef *waveobj.BlockDef `json:"blockdef"` Focused bool `json:"focused"` }
func GetNewTabLayout ¶
func GetNewTabLayout() PortableLayout
func GetStarterLayout ¶
func GetStarterLayout() PortableLayout
Click to show internal directories.
Click to hide internal directories.