Class BlockPaletteManagerBeta
Methods
addOrReplacePalette
- addOrReplacePalette(paletteId: string, palette: BlockPalette): void
Beta
Returns void
getPaletteIdList
- getPaletteIdList(): string[]
Beta
Returns string[]
getPaletteItem
- getPaletteItem(paletteId: string, index: number): IBlockPaletteItem
Beta
Parameters
- paletteId: string
- index: number
removePalette
- removePalette(paletteId: string): void
Beta
Returns void
setPaletteItem
- setPaletteItem(paletteId: string, index: number, item: IBlockPaletteItem): void
Beta
Returns void
setPrimaryPalette
- setPrimaryPalette(paletteId: string): void
Beta
Returns void
Remarks
This function can't be called in read-only mode.