[]
Creates a ListBox<T> control and attaches it to the dom elements matching against the specified selector.
public ListBoxBuilder<T> ListBox<T>(string selector = null)
Type | Name | Description |
---|---|---|
string | selector | Specifies a selector. It is optional. If it is not set, a default dom element will be generated. |
Type | Description |
---|---|
ListBoxBuilder<T> |
Name | Description |
---|---|
T | The data item type. |
Creates a ListBox<T> control and attaches it to the dom elements matching against the specified selector.
public ListBoxBuilder<object> ListBox(string selector = null)
Type | Name | Description |
---|---|---|
string | selector | Specifies a selector. It is optional. If it is not set, a default dom element will be generated. |
Type | Description |
---|---|
ListBoxBuilder<object> |