Api

UiListdatainit

OpenAPI > UI > listDataInit

OpenAPI.UI.listDataInit() method

Warning: This API is now obsolete.

请使用OpenAPI.InterfaceUtils.initList

界面列表组件数据初始化

Signature:

static listDataInit(list: UIList, List_modelGUI: any, list_len: number, isFocus?: boolean): void;

Parameters

Parameter

Type

Description

list

UIList

指定列表

List_modelGUI

any

项模型数据,如:ListItem_1

list_len

number

列表长度

isFocus

boolean

(Optional) 【默认关闭】是否设置焦点

void


Copyright © 2021 - 2025