Class: CList<DataType, ListItemProps>
frontend.CList
#
Type parametersName | Type |
---|---|
DataType | DataType |
ListItemProps | any |
#
HierarchyPureComponent
<TCListProps
<DataType
,ListItemProps
> &TCromwellBlockProps
<TCList
>>↳
CList
#
ImplementsTCList
<DataType
,ListItemProps
>
#
Table of contents#
Constructors#
Methods- addListener
- clearState
- componentDidUpdate
- componentWillUnmount
- getPagedParams
- getProps
- getScrollboxEl
- init
- onPageScrolled
- openPage
- render
- setOverlay
- setPagedParams
- setProps
- updateData
#
Constructors#
constructor• new CList<DataType
, ListItemProps
>(props
)
#
Type parametersName | Type |
---|---|
DataType | DataType |
ListItemProps | any |
#
ParametersName | Type |
---|---|
props | TCListProps <DataType , ListItemProps > |
#
OverridesReact.PureComponent<TCListProps<DataType, ListItemProps\> & TCromwellBlockProps<TCList\>\>.constructor
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:55
#
Methods#
addListenerâ–¸ addListener(type
, cb
, id?
): void
#
ParametersName | Type |
---|---|
type | "componentDidUpdate" |
cb | () => void |
id? | string |
#
Returnsvoid
#
Implementation ofTCList.addListener
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:93
#
clearStateâ–¸ clearState(): void
#
Returnsvoid
#
Implementation ofTCList.clearState
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:266
#
componentDidUpdateâ–¸ componentDidUpdate(): void
#
Returnsvoid
#
OverridesReact.PureComponent.componentDidUpdate
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:69
#
componentWillUnmountâ–¸ componentWillUnmount(): void
#
Returnsvoid
#
OverridesReact.PureComponent.componentWillUnmount
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:89
#
getPagedParamsâ–¸ getPagedParams(): TPagedParams
<DataType
>
#
ReturnsTPagedParams
<DataType
>
#
Implementation ofTCList.getPagedParams
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:496
#
getPropsâ–¸ getProps(): TCListProps
<DataType
, ListItemProps
>
#
ReturnsTCListProps
<DataType
, ListItemProps
>
#
Implementation ofTCList.getProps
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:60
#
getScrollboxElâ–¸ getScrollboxEl(): null
| HTMLDivElement
#
Returnsnull
| HTMLDivElement
#
Implementation ofTCList.getScrollboxEl
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:457
#
initâ–¸ init(): void
#
Returnsvoid
#
Implementation ofTCList.init
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:109
#
onPageScrolledâ–¸ onPageScrolled(pageNumber
): void
#
ParametersName | Type |
---|---|
pageNumber | number |
#
Returnsvoid
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:282
#
openPageâ–¸ openPage(pageNumber
): Promise
<void
>
#
ParametersName | Type |
---|---|
pageNumber | number |
#
ReturnsPromise
<void
>
#
Implementation ofTCList.openPage
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:292
#
renderâ–¸ render(): Element
#
ReturnsElement
#
OverridesReact.PureComponent.render
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:499
#
setOverlayâ–¸ setOverlay(isLoading
, force?
): void
#
ParametersName | Type |
---|---|
isLoading | boolean |
force? | boolean |
#
Returnsvoid
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:394
#
setPagedParamsâ–¸ setPagedParams(val
): TPagedParams
<DataType
>
#
ParametersName | Type |
---|---|
val | TPagedParams <DataType > |
#
ReturnsTPagedParams
<DataType
>
#
Implementation ofTCList.setPagedParams
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:497
#
setPropsâ–¸ setProps(props
): void
#
ParametersName | Type |
---|---|
props | null | TCListProps <DataType , ListItemProps > |
#
Returnsvoid
#
Implementation ofTCList.setProps
#
Defined insystem/core/frontend/src/components/CList/CList.tsx:65
#
updateDataâ–¸ updateData(): Promise
<void
>
#
ReturnsPromise
<void
>
#
Implementation ofTCList.updateData