Searched refs:onGetRectByIndex (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-layout-development-create-grid.md | 70 …s和onGetIrregularSizeByIndex可对仅设置rowsTemplate或columnsTemplate的Grid使用;onGetRectByIndex可对同时设置rowsTemp… 82 在网格中,可以通过onGetRectByIndex返回的[rowStart,columnStart,rowSpan,columnSpan]来实现跨行跨列布局,其中rowStart和columnSta… 84 …跨第一列和第二列,“=”按键横跨第五行和第六行,只要将“0”对应onGetRectByIndex的rowStart和columnStart设为5和0,rowSpan和columnSpan设为1和2… 90 onGetRectByIndex: (index: number) => {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkGrid.ts | 211 isFunction(this.value?.onGetRectByIndex) ? this.value.onGetRectByIndex : undefined); 218 !isBaseOrResourceEqual(this.stageValue?.onGetRectByIndex, this.value?.onGetRectByIndex);
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-layout-development-create-grid.md | 73 … for grids with only **rowsTemplate** or **columnsTemplate**, and **onGetRectByIndex** for grids w… 85 In the grid, use the **onGetRectByIndex** callback to return the array [rowStart, columnStart, rowS… 87 …umns, and the **=** key span across the fifth and sixth rows, set **onGetRectByIndex** for **0** a… 93 onGetRectByIndex: (index: number) => {
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-grid.md | 55 …组,并为其中的index对应的GridItem设置其占据的行数与列数,使用方法参见[示例3](#示例3可滚动grid设置跨行跨列节点);onGetRectByIndex可对同时设置rowsTemp… 62 | onGetRectByIndex<sup>11+</sup> | (index: number) => [number, number,number,number] | 否 | 设置指定索引i… 760 可以使用GridLayoutOptions中的onGetRectByIndex指定GridItem的位置和大小。 772 onGetRectByIndex: (index: number) => { 812 Text('GridLayoutOptions的使用:onGetRectByIndex。').fontColor(0xCCCCCC).fontSize(9).width('90%')
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
H A D | grid_option_layout_test_ng.cpp | 609 auto onGetRectByIndex = [gridItems](int32_t index) { in __anon04a373d60a02() variable 617 option.getRectByIndex = std::move(onGetRectByIndex);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_grid.cpp | 139 auto onGetRectByIndex = [execCtx = info.GetExecutionContext(), in ParseGetGridItemRect() local 151 option.getRectByIndex = std::move(onGetRectByIndex); in ParseGetGridItemRect()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_grid_bridge.cpp | 104 auto onGetRectByIndex = in ParseGetGridItemRect() local 116 option.getRectByIndex = std::move(onGetRectByIndex); in ParseGetGridItemRect()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-grid.md | 55 …a grid item with the specified index. For details, see Example 3. **onGetRectByIndex** can be used… 62 | onGetRectByIndex<sup>11+</sup> | (index: number) => [number, number,number,number] | No | Positio… 758 …grid with fixed number of rows and columns, for which you can use **onGetRectByIndex** in **GridLa… 770 onGetRectByIndex: (index: number) => { 810 … Text('Use of GridLayoutOptions: onGetRectByIndex').fontColor(0xCCCCCC).fontSize(9).width('90%')
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 6108 … this.value) === null || _d === void 0 ? void 0 : _d.onGetRectByIndex) ? this.value.onGetRectByInd… 6119 …aseOrResourceEqual((_g = this.stageValue) === null || _g === void 0 ? void 0 : _g.onGetRectByIndex, 6120 (_h = this.value) === null || _h === void 0 ? void 0 : _h.onGetRectByIndex);
|