IWithCardBehavior
Methods
| Method | Returns | Notes |
|---|---|---|
|
|
IHubCardViewModel |
Convert an entity into a card view model that can be consumed by the suite of hub gallery components |
convertToCardModel
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| opts Optional | IConvertToCardModelOpts |
view model options |
Returns
Interface defined in packages/common/src/core/behaviors/IWithCardBehavior.ts:6
Convert an entity into a card view model that can be consumed by the suite of hub gallery components