component](../arkui-js/js-components-basic-text.md#styles)**.|
+| font-family | string | sans-serif | No | Font family, in which fonts are separated by commas (,). Each font is set using a font name or font family name. The first font in the family or the specified [custom font](../arkui-js/js-components-common-customizing-font.md) is used for the text.|
-
-Name
- |
-Parameter
- |
-Description
- |
-
-
-bounce(Rich)
- |
--
- |
-Triggered when the marquee scrolls to the end.
- |
-
-finish(Rich)
- |
--
- |
-Triggered when the marquee finishes the specified number of scrollings (value of the loop attribute). It can be triggered only when the loop attribute is set to a number greater than 0.
- |
-
-start(Rich)
- |
--
- |
-Triggered when the marquee starts to scroll.
- |
-
-
-
-## Methods
+## Events
-In addition to the methods in [Universal Methods](js-components-common-methods.md), the following events are supported.
+In addition to the [universal events](../arkui-js/js-components-common-events.md), the following events are supported.
-
-Name
- |
-Parameter
- |
-Description
- |
-
-
-start
- |
--
- |
-Starts scrolling.
- |
-
-stop
- |
--
- |
-Stops scrolling.
- |
-
-
-
+| Name | Parameter | Description |
+| ------------ | ---- | ---------------------------------------- |
+| bounce(Rich) | - | Triggered when the marquee scrolls to the end. |
+| finish(Rich) | - | Triggered when the marquee finishes the specified number of scrollings (value of the **loop** attribute). It can be triggered only when the **loop** attribute is set to a number greater than 0.|
+| start(Rich) | - | Triggered when the marquee starts to scroll. |
-## Example Code
+## Methods
-```
+In addition to the [universal methods](../arkui-js/js-components-common-methods.md), the following methods are supported.
+
+| Name | Parameter | Description |
+| ----- | ---- | ----- |
+| start | - | Starts scrolling.|
+| stop | - | Stops scrolling.|
+
+
+## Example
+
+```html