Digital cards, usually used to display key indicator information.
{"Number of pets_last month": {"bind": "prev_pet_count","link": "/x/Table/pet","view": {"type": "Number","props": {"cardStyle": { "padding": 0 },"unit": "unit","prev_title": "Last month data"}}}}
interface IProps {data:| number| {current: numberprev: number}prefix?: stringunit?: stringdecimals?: numberprev_title?: string}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
name | data key | string | - | yes | |
unit | unit | string | - | no | |
decimals | decimal point | number | - | no | |
prev_title | title of previous data | string | - | no |
Digital cards, usually used to display key indicator information.
{"Number of pets_last month": {"bind": "prev_pet_count","link": "/x/Table/pet","view": {"type": "Number","props": {"cardStyle": { "padding": 0 },"unit": "unit","prev_title": "Last month data"}}}}
interface IProps {data:| number| {current: numberprev: number}prefix?: stringunit?: stringdecimals?: numberprev_title?: string}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
name | data key | string | - | yes | |
unit | unit | string | - | no | |
decimals | decimal point | number | - | no | |
prev_title | title of previous data | string | - | no |