类: Label
大约 1 分钟
类: Label
类属性
属性 text
类型: number
访问: 可读, 可写
该属性是对 LVGL C API
lv_label_get_text,lv_label_set_text的封装, 具体用法请参考 LVGL文档
属性 textStatic
类型:
访问: 只写
该属性是对 LVGL C API
lv_label_set_text_static的封装, 具体用法请参考 LVGL文档
属性 longMode
类型: number
访问: 可读, 可写
该属性是对 LVGL C API
lv_label_get_long_mode,lv_label_set_long_mode的封装, 具体用法请参考 LVGL文档
属性 textSelectionStart
类型: number
访问: 可读, 可写
该属性是对 LVGL C API
lv_label_get_text_selection_start,lv_label_set_text_selection_start的封装, 具体用法请参考 LVGL文档
属性 textSelectionEnd
类型: number
访问: 可读, 可写
该属性是对 LVGL C API
lv_label_get_text_selection_end,lv_label_set_text_selection_end的封装, 具体用法请参考 LVGL文档
类方法
方法 insText
原型: insText ()
该方法是对 LVGL C API
lv_label_ins_text的封装,具体用法请参考 LVGL文档
返回值:
undefined
方法 cutText
原型: cutText ()
该方法是对 LVGL C API
lv_label_cut_text的封装,具体用法请参考 LVGL文档
返回值:
undefined