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