WidgetContainerBlock

Widget container block

Installation

import {WidgetContainerBlock} from 'uxp/components';

Properties

Name
Type
Description

widgets

IWidgetInstance[]

editDashboard

boolean

onChangeDashboard

any

canEditDashboard

boolean

canManageWidgetsAndSettings

boolean

openMenu

() => void

toolbarItems

IToolbarItem[]

minWidth

number

numberOfColumns

number

onGridResize

(width: number, height: number, cellWidth: number, margin: [number, number]) => void

margin

number

padding

number

hideDefaultEditToolbar

boolean

onWidgetPropsChange

(id: string, props: any) => void

onResizeStart

() => void

onResizeEnd

() => void

widgets


type

IWidgetInstance[]

editDashboard


type

boolean

onChangeDashboard


type

any

canEditDashboard


type

boolean

canManageWidgetsAndSettings


type

boolean

openMenu


type

() => void

toolbarItems


type

IToolbarItem[]

minWidth


type

number

numberOfColumns


type

number

onGridResize


type

(width: number, height: number, cellWidth: number, margin: [number, number]) => void

margin


type

number

padding


type

number

hideDefaultEditToolbar


type

boolean

onWidgetPropsChange


type

(id: string, props: any) => void

onResizeStart


type

() => void

onResizeEnd


type

() => void

Last updated