# news-ticker


## properties


1. 在建模屏幕左侧的组件工具栏的“Etc List”中创建一个news-ticker组件。
   ![news ticker 생성][news_ticker_1]

2. 数据直接通过Publisher发布，或直接输入到news-ticker组件的值中。 在图片中，将文本直接输入到news-ticker值中。
   ![news ticker 텍스트 입력][news_ticker_2]

3. 在news-ticker组件属性窗口的第4个选项卡的Direction上，垂直流动时选择“vertical”，水平流动时选择“horizontal”。 如果选中了反转，则文本的流动方向将从末端开始，持续时间决定文本的流动速度。
   ![news ticker 속성 값 입력][news_ticker_3]

4. 检查数据值是否正确输出。
   ![news ticker horizontal 출력 확인][news_ticker_video_1]

5. 作为参考，如果将“Direction”设置为vertical，则数据值输出如下。
   ![news ticker vertical 출력 확인][news_ticker_video_2]

[news_ticker_1]: ../images/news_ticker_1.png
[news_ticker_2]: ../images/news_ticker_2.png
[news_ticker_3]: ../images/news_ticker_3.png
[news_ticker_video_1]: ../images/news_ticker_video_1.gif
[news_ticker_video_2]: ../images/news_ticker_video_2.gif

