Interface: BaseBuyable
features/buyable.BaseBuyable
Properties
[Component]
• [Component]: DefineComponent
<{ canClick
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; title?
: CoercableComponent
}>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; onClick
: PropType
<(e?
: MouseEvent
| TouchEvent
) => void
> ; onHold
: PropType
<VoidFunction
> ; small
: BooleanConstructor
= Boolean; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }, { Visibility
: typeof Visibility
; comp
: ShallowRef
<string
| Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>> ; start
: (e
: MouseEvent
| TouchEvent
) => void
; stop
: VoidFunction
; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ canClick
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; display
: { required
: true
= true; type
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; title?
: CoercableComponent
}>> } ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; onClick
: PropType
<(e?
: MouseEvent
| TouchEvent
) => void
> ; onHold
: PropType
<VoidFunction
> ; small
: BooleanConstructor
= Boolean; style
: PropType
<ProcessedComputable
<StyleValue
>> ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }>>, { small
: boolean
= Boolean }>
Defined in
profectus/src/features/buyable.tsx:55
[GatherProps]
• [GatherProps]: () => Record
<string
, unknown
>
Type declaration
▸ (): Record
<string
, unknown
>
Returns
Record
<string
, unknown
>
Defined in
profectus/src/features/buyable.tsx:56
amount
• amount: Persistent
<DecimalSource
>
Defined in
profectus/src/features/buyable.tsx:48
canAfford
• canAfford: Ref
<boolean
>
Defined in
profectus/src/features/buyable.tsx:50
canClick
• canClick: ProcessedComputable
<boolean
>
Defined in
profectus/src/features/buyable.tsx:51
id
• id: string
Defined in
profectus/src/features/buyable.tsx:47
maxed
• maxed: Ref
<boolean
>
Defined in
profectus/src/features/buyable.tsx:49
onClick
• onClick: VoidFunction
Defined in
profectus/src/features/buyable.tsx:52
purchase
• purchase: VoidFunction
Defined in
profectus/src/features/buyable.tsx:53
type
• type: typeof BuyableType