Interface: BaseInfobox
features/infoboxes/infobox.BaseInfobox
Hierarchy
Persistent
<boolean
>↳
BaseInfobox
Properties
[Component]
• [Component]: DefineComponent
<{ bodyStyle
: PropType
<ProcessedComputable
<StyleValue
>> ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; collapsed
: { required
: true
= true; type
: PropType
<Ref
<boolean
>> } ; color
: PropType
<ProcessedComputable
<string
>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<CoercableComponent
>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; title
: { required
: true
= true; type
: PropType
<ProcessedComputable
<CoercableComponent
>> } ; titleStyle
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }, { Visibility
: typeof Visibility
; bodyComponent
: ShallowRef
<""
| JSXFunction
| Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>> ; stacked
: ComputedRef
<boolean
> ; titleComponent
: ShallowRef
<""
| JSXFunction
| Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>> ; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ bodyStyle
: PropType
<ProcessedComputable
<StyleValue
>> ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; collapsed
: { required
: true
= true; type
: PropType
<Ref
<boolean
>> } ; color
: PropType
<ProcessedComputable
<string
>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<CoercableComponent
>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; title
: { required
: true
= true; type
: PropType
<ProcessedComputable
<CoercableComponent
>> } ; titleStyle
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }>>, {}>
Defined in
profectus/src/features/infoboxes/infobox.ts:40
[DefaultValue]
• [DefaultValue]: boolean
Inherited from
Persistent.__@DefaultValue@18652
Defined in
profectus/src/game/persistence.ts:25
[PersistentState]
• [PersistentState]: Ref
<boolean
>
Inherited from
Persistent.__@PersistentState@18650
Defined in
profectus/src/game/persistence.ts:24
collapsed
• collapsed: Ref
<boolean
>
Defined in
profectus/src/features/infoboxes/infobox.ts:38
id
• id: string
Defined in
profectus/src/features/infoboxes/infobox.ts:37
type
• type: typeof InfoboxType
Defined in
profectus/src/features/infoboxes/infobox.ts:39
Methods
[GatherProps]
▸ [GatherProps](): Record
<string
, unknown
>
Returns
Record
<string
, unknown
>