Skip to main content

Number

The Number component provides the ability to enter numbers and use arrow buttons to add and subtract numbers.This article introduces the detailed configuration of the digital frame component.

number.jpg

Private Properties

Parameters
Description
Default value
NumberConfigurable data sources0
Minimum0
Maximum100
StepSingle increase/decrement value1
Decimals0

Style

Parameters
Description
Default value
SizeOptional value: 12~7212
Color#000000
ThicknessOptional values: Standard, BoldStandard
AlignOptional values: Left, Center, RightLeft

Node

Parameters
Description
Default value
WidthOverall width180
HeightOverall height35
XHorizontal coordinate
YVertical coordinate

Application Examples

Use a digital box to display the temperature data of a sensor device. On the preview or application release page, you can directly set the temperature value and send it to the device.


Step 1: Add components

Above the component list on the left side of the canvas, enter number box, find the component, and then drag the component to the middle canvas. list_01

Step 2: Configure the data source

When you need to use this component to display and set device properties, or display data returned by the interface, you need to configure the corresponding data source.

⚠️ Note

  1. The current case takes the banner page as an example, and the device needs to be specified; if it is a device page, there is no need to specify the device.
  2. The delivered indicators only support selection from the environment parameters of the object model.

list_01

Step 3: Configure interactive actions

A button needs to be configured to trigger the sending action and send the parameters in the digital frame component to the device.

list_01