Skip to content

TileConfigComponent

component

Selector: yuv-tile-config

Standalone: Yes

Type: string | undefined

Default Value: undefined

Tile configurations are stored globally for all apps. If you want a separate config for your app/component you can specify a bucket. A bucket is basically an ID where your custom tile config will be stored and retrieved. Buckets should be unique so be sure to use a unique namespace.

Type: string | undefined

Default Value: undefined

Type: ObjectFlavor[]

Default Value: []

Type: VirtualObjectType[] | undefined

Default Value: undefined

Type: EventEmitter

Type: EventEmitter

Type: Record<string | ObjectConfig | undefined>

Default Value: \{\}

Type: ObjectFlavor[]

Default Value: []

Type: ObjectConfig

Type: string

Type: VirtualObjectType

Type: ObjectTypeField[]

Default Value: []

Type: Signal<InnerType[]>

Default Value: computed(() => \{ const ct = this.configTypes() || []; const cf: VirtualObjectType[] = []; // TODO: enable when flavors are supported in tile config // const cf = this.configFlavors() || []; return [...ct.map((t) => (\{ id: t.id, icon: t.icon, data: t \})), ...cf.map((f) => (\{ id: f.id, icon: f.icon, flavor: true, data: f \}))]; \})

actionSelected(action: Action): void
NameTypeDescription
actionAction
cancelConfig(): void
getConfigProperty(p: string): ObjectConfigProperty | undefined
NameTypeDescription
pstring
getConfigValue(p: string): ObjectConfigIcon | ObjectConfigProperty | ObjectConfigAction | ObjectConfigBadge | undefined
NameTypeDescription
pstring
getSelectedActions(): string[]
iconSelected(icon: string | null): void
NameTypeDescription
iconstring | null
propertySelected(tileSlot: string, field?: Partial<ObjectTypeField>): void
NameTypeDescription
tileSlotstring
fieldPartial<ObjectTypeField>
resetConfig(): void
saveConfig(): void
slotSelect(item: string): void
NameTypeDescription
itemstring
typeSelected(type: InnerType): void
NameTypeDescription
typeInnerType