From ce241c98b74174dd190c9f62b4bb1f92a4e4b611 Mon Sep 17 00:00:00 2001 From: HelloCrease Date: Sat, 26 Mar 2022 13:16:31 +0800 Subject: [PATCH] update mulu Signed-off-by: HelloCrease --- .../reference/apis/js-apis-fileio.md | 20 ++-- .../reference/arkui-ts/Readme-CN.md | 23 +++-- .../reference/arkui-ts/ts-animation.md | 10 -- .../reference/arkui-ts/ts-appendix.md | 3 - .../reference/arkui-ts/ts-basic-components.md | 32 ------ .../reference/arkui-ts/ts-basic-gestures.md | 13 --- .../arkui-ts/ts-components-canvas.md | 17 ---- .../arkui-ts/ts-components-container.md | 28 ------ .../reference/arkui-ts/ts-components.md | 12 --- .../arkui-ts/ts-drawing-components.md | 19 ---- .../arkui-ts/ts-gesture-processing.md | 7 -- .../arkui-ts/ts-global-ui-methods.md | 10 -- .../reference/arkui-ts/ts-media-components.md | 3 - .../arkui-ts/ts-methods-image-cache.md | 99 ------------------- .../arkui-ts/ts-methods-popup-window.md | 7 -- ...es.md => ts-universal-attributes-index.md} | 0 .../arkui-ts/ts-universal-components.md | 7 -- ...events.md => ts-universal-events-index.md} | 0 zh-cn/application-dev/ui/Readme-CN.md | 1 + .../ui/ui-js-components-canvas.md | 4 +- zh-cn/application-dev/website.md | 6 +- 21 files changed, 26 insertions(+), 295 deletions(-) delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-animation.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-appendix.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-basic-components.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-components-canvas.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-components-container.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-components.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-drawing-components.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-gesture-processing.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-global-ui-methods.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-media-components.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-methods-image-cache.md delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-methods-popup-window.md rename zh-cn/application-dev/reference/arkui-ts/{ts-universal-attributes.md => ts-universal-attributes-index.md} (100%) delete mode 100644 zh-cn/application-dev/reference/arkui-ts/ts-universal-components.md rename zh-cn/application-dev/reference/arkui-ts/{ts-universal-events.md => ts-universal-events-index.md} (100%) diff --git a/zh-cn/application-dev/reference/apis/js-apis-fileio.md b/zh-cn/application-dev/reference/apis/js-apis-fileio.md index 530ffabede..36bc2e261e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-fileio.md +++ b/zh-cn/application-dev/reference/apis/js-apis-fileio.md @@ -2915,7 +2915,7 @@ read(): Promise<Dirent> - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); dir.read().then(function (dirent){ console.info("read successfully:"+ dirent.name); }).catch(function(err){ @@ -2939,7 +2939,7 @@ read(callback: AsyncCallback<Dirent>): void - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); dir.read(function (err, dirent) { if (!err) { // do something @@ -2964,7 +2964,7 @@ readSync(): Dirent - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); let dirent = dir.readSync(); ``` @@ -2979,7 +2979,7 @@ closeSync(): void - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); dir.closeSync(); ``` @@ -3012,7 +3012,7 @@ isBlockDevice(): boolean - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); let isBLockDevice = dir.readSync().isBlockDevice(); ``` @@ -3032,7 +3032,7 @@ isCharacterDevice(): boolean - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); let isCharacterDevice = dir.readSync().isCharacterDevice(); ``` @@ -3052,7 +3052,7 @@ isDirectory(): boolean - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); let isDirectory = dir.readSync().isDirectory(); ``` @@ -3072,7 +3072,7 @@ isFIFO(): boolean - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); let isFIFO = dir.readSync().isFIFO(); ``` @@ -3092,7 +3092,7 @@ isFile(): boolean - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); let isFile = dir.readSync().isFile(); ``` @@ -3132,6 +3132,6 @@ isSymbolicLink(): boolean - 示例: ```js - let dir = fileio.opendirSync(dpath); + let dir = fileio.opendirSync(path); let isSymbolicLink = dir.readSync().isSymbolicLink(); ``` diff --git a/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md b/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md index ac9ec72481..6089ea601b 100644 --- a/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md +++ b/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md @@ -2,7 +2,7 @@ - 组件 - 通用 - - 通用事件 + - [通用事件](ts-universal-events-index.md) - [点击事件](ts-universal-events-click.md) - [触摸事件](ts-universal-events-touch.md) - [挂载卸载事件](ts-universal-events-show-hide.md) @@ -11,7 +11,7 @@ - [焦点事件](ts-universal-focus-event.md) - [鼠标事件](ts-universal-mouse-key.md) - [组件区域变化事件](ts-universal-component-area-change-event.md) - - 通用属性 + - [通用属性](ts-universal-attributes-index.md) - [尺寸设置](ts-universal-attributes-size.md) - [位置设置](ts-universal-attributes-location.md) - [布局约束](ts-universal-attributes-layout-constraints.md) @@ -58,28 +58,29 @@ - [Gauge](ts-basic-components-gauge.md) - [Image](ts-basic-components-image.md) - [ImageAnimator](ts-basic-components-imageanimator.md) - - [Marquee](ts-basic-components-marquee.md) - [LoadingProgress](ts-basic-components-loadingprogress.md) + - [Marquee](ts-basic-components-marquee.md) + - [PatternLock](ts-basic-components-patternlock.md) + - [PluginComponent](ts-basic-components-plugincomponent.md) - [Progress](ts-basic-components-progress.md) - [QRCode](ts-basic-components-qrcode.md) - [Radio](ts-basic-components-radio.md) - [Rating](ts-basic-components-rating.md) + - [RichText](ts-basic-components-richtext.md) - [Search](ts-basic-components-search.md) - [Select](ts-basic-components-select.md) - [Slider](ts-basic-components-slider.md) - [Span](ts-basic-components-span.md) - [Text](ts-basic-components-text.md) - [TextArea](ts-basic-components-textarea.md) + - [TextClock](ts-basic-components-textclock.md) - [TextInput](ts-basic-components-textinput.md) - [TextPicker](ts-basic-components-textpicker.md) - [TextTimer](ts-basic-components-texttimer.md) - [TimePicker](ts-basic-components-timepicker.md) - [Toggle](ts-basic-components-toggle.md) - - [TextClock](ts-basic-components-textclock.md) - [Web](ts-basic-components-web.md) - - [RichText](ts-basic-components-richtext.md) - [Xcomponent](ts-basic-components-xcomponent.md) - - [PluginComponent](ts-basic-components-plugincomponent.md) - 容器组件 - [AlphabetIndexer](ts-container-alphabet-indexer.md) - [Badge](ts-container-badge.md) @@ -95,18 +96,18 @@ - [Navigator](ts-container-navigator.md) - [Navigation](ts-basic-components-navigation.md) - [Panel](ts-container-panel.md) + - [Refresh](ts-container-refresh.md) - [Row](ts-container-row.md) - [RowSplit](ts-container-rowsplit.md) - [Scroll](ts-container-scroll.md) - [ScrollBar](ts-basic-components-scrollbar.md) - [SideBarContainer](ts-container-sidebarcontainer.md) - [Stack](ts-container-stack.md) + - [Stepper](ts-basic-components-stepper.md) + - [StepperItem](ts-basic-components-stepperitem.md) - [Swiper](ts-container-swiper.md) - [Tabs](ts-container-tabs.md) - [TabContent](ts-container-tabcontent.md) - - [Refresh](ts-container-refresh.md) - - [Stepper](ts-basic-components-stepper.md) - - [StepperItem](ts-basic-components-stepperitem.md) - 媒体组件 - [Video](ts-media-components-video.md) - 绘制组件 @@ -138,7 +139,6 @@ - [矩阵变换](ts-matrix-transformation.md) - [插值计算](ts-interpolation-calculation.md) - 全局UI方法 - - [图片缓存](ts-methods-image-cache.md) - 弹窗 - [警告弹窗](ts-methods-alert-dialog-box.md) - [列表选择弹窗](ts-methods-action-sheet.md) @@ -147,5 +147,4 @@ - [时间选择弹窗](ts-methods-timepicker-dialog.md) - [文本选择弹窗](ts-methods-textpicker-dialog.md) - [菜单](ts-methods-menu.md) -- 附录 - - [文档中涉及到的内置枚举值](ts-appendix-enums.md) +- [文档中涉及到的内置枚举值](ts-appendix-enums.md) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-animation.md b/zh-cn/application-dev/reference/arkui-ts/ts-animation.md deleted file mode 100644 index 7fd62a4d2a..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-animation.md +++ /dev/null @@ -1,10 +0,0 @@ -# 动画 - - [属性动画](ts-animatorproperty.md) - - [显式动画](ts-explicit-animation.md) - - 转场动画 - - [页面间转场](ts-page-transition-animation.md) - - [组件内转场](ts-transition-animation-component.md) - - [共享元素转场](ts-transition-animation-shared-elements.md) - - [路径动画](ts-motion-path-animation.md) - - [矩阵变换](ts-matrix-transformation.md) - - [插值计算](ts-interpolation-calculation.md) \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-appendix.md b/zh-cn/application-dev/reference/arkui-ts/ts-appendix.md deleted file mode 100644 index beb10bf5a7..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-appendix.md +++ /dev/null @@ -1,3 +0,0 @@ -# 附录 - -- **[文档中涉及到的内置枚举值](ts-appendix-enums.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components.md deleted file mode 100644 index 0d0457df9a..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components.md +++ /dev/null @@ -1,32 +0,0 @@ -# 基础组件 - -- [Blank](ts-basic-components-blank.md) -- [Button](ts-basic-components-button.md) -- [Checkbox](ts-basic-components-checkbox.md) -- [CheckboxGroup](ts-basic-components-checkboxgroup.md) -- [DataPanel](ts-basic-components-datapanel.md) -- [DatePicker](ts-basic-components-datepicker.md) -- [Divider](ts-basic-components-divider.md) -- [Gauge](ts-basic-components-gauge.md) -- [Image](ts-basic-components-image.md) -- [ImageAnimator](ts-basic-components-imageanimator.md) -- [Marquee](ts-basic-components-marquee.md) -- [LoadingProgress](ts-basic-components-loadingprogress.md) -- [Progress](ts-basic-components-progress.md) -- [QRCode](ts-basic-components-qrcode.md) -- [Radio](ts-basic-components-radio.md) -- [Rating](ts-basic-components-rating.md) -- [Select](ts-basic-components-select.md) -- [Slider](ts-basic-components-slider.md) -- [Span](ts-basic-components-span.md) -- [Text](ts-basic-components-text.md) -- [TextArea](ts-basic-components-textarea.md) -- [TextInput](ts-basic-components-textinput.md) -- [TextPicker](ts-basic-components-textpicker.md) -- [TextTimer](ts-basic-components-texttimer.md) -- [TimePicker](ts-basic-components-timepicker.md) -- [Toggle](ts-basic-components-toggle.md) -- [TextClock](ts-basic-components-textclock.md) -- [Web](ts-basic-components-web.md) -- [Xcomponent](ts-basic-components-xcomponent.md) -- [PluginComponent](ts-basic-components-plugincomponent.md) \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures.md deleted file mode 100644 index bd6c3ded10..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-gestures.md +++ /dev/null @@ -1,13 +0,0 @@ -# 基础手势 - -- **[TapGesture](ts-basic-gestures-tapgesture.md)** - -- **[LongPressGesture](ts-basic-gestures-longpressgesture.md)** - -- **[PanGesture](ts-basic-gestures-pangesture.md)** - -- **[PinchGesture](ts-basic-gestures-pinchgesture.md)** - -- **[RotationGesture](ts-basic-gestures-rotationgesture.md)** - -- **[SwipeGesture](ts-basic-gestures-swipegesture.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas.md b/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas.md deleted file mode 100644 index 364dd19da4..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-components-canvas.md +++ /dev/null @@ -1,17 +0,0 @@ -# 画布组件 - -- **[Canvas](ts-components-canvas-canvas.md)** - -- **[CanvasRenderingContext2D对象](ts-canvasrenderingcontext2d.md)** - -- **[OffscreenCanvasRenderingConxt2D对象](ts-offscreencanvasrenderingcontext2d.md)** - -- **[Lottie](ts-components-canvas-lottie.md)** - -- **[Path2D对象](ts-components-canvas-path2d.md)** - -- **[CanvasGradient对象](ts-components-canvas-canvasgradient.md)** - -- **[ImageBitmap对象](ts-components-canvas-imagebitmap.md)** - -- **[ImageData对象](ts-components-canvas-imagedata.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-components-container.md b/zh-cn/application-dev/reference/arkui-ts/ts-components-container.md deleted file mode 100644 index 434e86ae5b..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-components-container.md +++ /dev/null @@ -1,28 +0,0 @@ -# 容器组件 - -- [AlphabetIndexer](ts-container-alphabet-indexer.md) -- [Badge](ts-container-badge.md) -- [Column](ts-container-column.md) -- [ColumnSplit](ts-container-columnsplit.md) -- [Counter](ts-container-counter.md) -- [Flex](ts-container-flex.md) -- [GridContainer](ts-container-gridcontainer.md) -- [Grid](ts-container-grid.md) -- [GridItem](ts-container-griditem.md) -- [List](ts-container-list.md) -- [ListItem](ts-container-listitem.md) -- [Navigator](ts-container-navigator.md) -- [Navigation](ts-basic-components-navigation.md) -- [Panel](ts-container-panel.md) -- [Row](ts-container-row.md) -- [RowSplit](ts-container-rowsplit.md) -- [Scroll](ts-container-scroll.md) -- [ScrollBar](ts-basic-components-scrollbar.md) -- [SideBarContainer](ts-container-sidebarcontainer.md) -- [Stack](ts-container-stack.md) -- [Swiper](ts-container-swiper.md) -- [Tabs](ts-container-tabs.md) -- [TabContent](ts-container-tabcontent.md) -- [Refresh](ts-container-refresh.md) -- [Stepper](ts-basic-components-stepper.md) -- [StepperItem](ts-basic-components-stepperitem.md) \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-components.md b/zh-cn/application-dev/reference/arkui-ts/ts-components.md deleted file mode 100644 index 5864284d13..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-components.md +++ /dev/null @@ -1,12 +0,0 @@ -# 组件 - -- [通用](ts-universal-components.md) - -- [基础组件](ts-basic-components.md) - -- [容器组件](ts-components-container.md) - -- [绘制组件](ts-drawing-components.md) -- [媒体组件](ts-media-components.md) - -- [画布组件](ts-components-canvas.md) \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components.md b/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components.md deleted file mode 100644 index 2fc7425ba0..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components.md +++ /dev/null @@ -1,19 +0,0 @@ -# 绘制组件 - - - -- **[Circle](ts-drawing-components-circle.md)** - -- **[Ellipse](ts-drawing-components-ellipse.md)** - -- **[Line](ts-drawing-components-line.md)** - -- **[Polyline](ts-drawing-components-polyline.md)** - -- **[Polygon](ts-drawing-components-polygon.md)** - -- **[Path](ts-drawing-components-path.md)** - -- **[Rect](ts-drawing-components-rect.md)** - -- **[Shape](ts-drawing-components-shape.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-gesture-processing.md b/zh-cn/application-dev/reference/arkui-ts/ts-gesture-processing.md deleted file mode 100644 index ce04ce5fea..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-gesture-processing.md +++ /dev/null @@ -1,7 +0,0 @@ -# 手势处理 - -- **[组合手势](ts-combined-gestures.md)** - -- **[绑定手势方法](ts-gesture-settings.md)** - -- **[基础手势](ts-basic-gestures.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-global-ui-methods.md b/zh-cn/application-dev/reference/arkui-ts/ts-global-ui-methods.md deleted file mode 100644 index 56df0dede9..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-global-ui-methods.md +++ /dev/null @@ -1,10 +0,0 @@ -# 全局UI方法 -- [图片缓存](ts-methods-image-cache.md) -- 弹窗 - - [警告弹窗](ts-methods-alert-dialog-box.md) - - [列表选择弹窗](ts-methods-action-sheet.md) - - [自定义弹窗](ts-methods-custom-dialog-box.md) - - [日期选择弹窗](ts-methods-datepicker-dialog.md) - - [时间选择弹窗](ts-methods-timepicker-dialog.md) - - [文本选择弹窗](ts-methods-textpicker-dialog.md) -- [菜单](ts-methods-menu.md) \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-media-components.md b/zh-cn/application-dev/reference/arkui-ts/ts-media-components.md deleted file mode 100644 index 483d45881a..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-media-components.md +++ /dev/null @@ -1,3 +0,0 @@ -# 媒体组件 - -- **[Video](ts-media-components-video.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-methods-image-cache.md b/zh-cn/application-dev/reference/arkui-ts/ts-methods-image-cache.md deleted file mode 100644 index 9b3cd1df1a..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-methods-image-cache.md +++ /dev/null @@ -1,99 +0,0 @@ -# 图片缓存 - -> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** -> 从 API Version 7 开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。 - - -## 导入模块 - -``` -import app from '@system.app' -``` - - -## 权限 - -无 - - -## app.setImageCacheCount - -setImageCacheCount(value: number): void - -设置内存中缓存解码后图片的数量上限,提升再次加载同源图片的加载速度。如果不设置则默认为0,不进行缓存。缓存采用内置的LRU策略,新图片加载后,如果超过缓存上限,会删除最久未再次加载的缓存。建议根据应用内存需求,设置合理缓存数量,数字过大可能导致内存使用过高。 -- 参数 - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | value | number | 是 | 内存中解码后图片的缓存数量。 | - -- 示例 - ``` - // app.ets - import app from '@system.app'; - - export default { - onCreate() { - app.setImageCacheCount(100) // 设置解码后图片内存缓存上限为100张 - console.info('Application onCreate') - }, - onDestroy() { - console.info('Application onDestroy') - }, - } - ``` - - -## app.setImageRawDataCacheSize - -setImageRawDataCacheSize(value: number): void - -设置内存中缓存解码前图片数据的大小上限,单位为字节,提升再次加载同源图片的加载速度。如果不设置则默认为0,不进行缓存。缓存采用内置的LRU策略,新图片加载后,如果解码前数据超过缓存上限,会删除最久未再次加载的图片数据缓存。建议根据应用内存需求,设置合理缓存上限,过大可能导致应用内存使用过高。 - -- 参数 - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | value | number | 是 | 内存中解码前图片数据的缓存大小,单位为字节。 | - -- 示例 - ``` - // app.ets - import app from '@system.app'; - - export default { - onCreate() { - app.setImageRawDataCacheSize(104,857,600) // 设置解码前图片数据内存缓存上限为100MB - console.info('Application onCreate') - }, - onDestroy() { - console.info('Application onDestroy') - }, - } - ``` - - -## app.setImageFileCacheSize - -setImageFileCacheSize(value: number): void - -设置图片文件缓存的大小上限,单位为字节,提升再次加载同源图片的加载速度,特别是对网络图源、缩略图会有较明显提升。如果不设置则默认为100MB。缓存采用内置的LRU策略,新图片加载后,如果超过文件缓存上限,会按照时间由远到近删除缓存图片文件直到缓存图片大小满足缓存上限。建议根据应用实际需求,设置合理文件缓存上限,数字过大可能导致磁盘空间占用过高。 - -- 参数 - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | value | number | 是 | 图片文件的缓存大小,单位为字节。 | - -- 示例 - ``` - // app.ets - import app from '@system.app'; - - export default { - onCreate() { - app.setImageFileCacheSize(209,715,200) // 设置图片文件数据缓存上限为200MB - console.info('Application onCreate') - }, - onDestroy() { - console.info('Application onDestroy') - }, - } - ``` diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-methods-popup-window.md b/zh-cn/application-dev/reference/arkui-ts/ts-methods-popup-window.md deleted file mode 100644 index 92ce0b452f..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-methods-popup-window.md +++ /dev/null @@ -1,7 +0,0 @@ -# 弹窗 - -- **[警告弹窗](ts-methods-alert-dialog-box.md)** - -- **[列表选择弹窗](ts-methods-action-sheet.md)** - -- **[自定义弹窗](ts-methods-custom-dialog-box.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-index.md similarity index 100% rename from zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes.md rename to zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-index.md diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-components.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-components.md deleted file mode 100644 index bed379185e..0000000000 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-components.md +++ /dev/null @@ -1,7 +0,0 @@ -# 通用 - -- **[通用事件](ts-universal-events.md)** - -- **[通用属性](ts-universal-attributes.md)** - -- **[手势处理](ts-gesture-processing.md)** \ No newline at end of file diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-events.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-index.md similarity index 100% rename from zh-cn/application-dev/reference/arkui-ts/ts-universal-events.md rename to zh-cn/application-dev/reference/arkui-ts/ts-universal-events-index.md diff --git a/zh-cn/application-dev/ui/Readme-CN.md b/zh-cn/application-dev/ui/Readme-CN.md index 1e3f2a7a5d..591202f71d 100755 --- a/zh-cn/application-dev/ui/Readme-CN.md +++ b/zh-cn/application-dev/ui/Readme-CN.md @@ -51,6 +51,7 @@ - [Qrcode开发指导](ui-js-components-qrcode.md) - [Search开发指导](ui-js-components-search.md) - Canvas开发指导 + - [Canvas对象](ui-js-components-canvas.md) - [CanvasRenderingContext2D对象](ui-js-components-canvasrenderingcontext2d.md) - [Path2D对象](ui-js-components-path2d.md) - [OffscreenCanvas对象](ui-js-components-offscreencanvas.md) diff --git a/zh-cn/application-dev/ui/ui-js-components-canvas.md b/zh-cn/application-dev/ui/ui-js-components-canvas.md index 2c75605ce3..a661e145b8 100644 --- a/zh-cn/application-dev/ui/ui-js-components-canvas.md +++ b/zh-cn/application-dev/ui/ui-js-components-canvas.md @@ -1,4 +1,4 @@ -# Canvas开发指导 +# Canvas对象 Canvas组件提供画布,用于自定义绘制图形。具体用法请参考[CanvasRenderingContext2D对象](../reference/arkui-js/js-components-canvas-canvasrenderingcontext2d.md)。 @@ -34,7 +34,7 @@ canvas{ > ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** > - Canvas组件默认背景色与父组件的背景色一致。 -> +> > - Canvas默认宽高为width: 300px,height: 150px。 diff --git a/zh-cn/application-dev/website.md b/zh-cn/application-dev/website.md index ccbdde2f2c..6caa9dca42 100644 --- a/zh-cn/application-dev/website.md +++ b/zh-cn/application-dev/website.md @@ -88,6 +88,7 @@ - [Qrcode开发指导](ui/ui-js-components-qrcode.md) - [Search开发指导](ui/ui-js-components-search.md) - Canvas开发指导 + - [Canvas对象](ui-js-components-canvas.md) - [CanvasRenderingContext2D对象](ui/ui-js-components-canvasrenderingcontext2d.md) - [Path2D对象](ui/ui-js-components-path2d.md) - [OffscreenCanvas对象](ui/ui-js-components-offscreencanvas.md) @@ -517,8 +518,6 @@ - [矩阵变换](reference/arkui-ts/ts-matrix-transformation.md) - [插值计算](reference/arkui-ts/ts-interpolation-calculation.md) - 全局UI方法 - - [图片缓存](reference/arkui-ts/ts-methods-image-cache.md) - - [媒体查询](reference/arkui-ts/ts-methods-media-query.md) - 弹窗 - [警告弹窗](reference/arkui-ts/ts-methods-alert-dialog-box.md) - [列表选择弹窗](reference/arkui-ts/ts-methods-action-sheet.md) @@ -526,8 +525,7 @@ - [日期时间选择弹窗](reference/arkui-ts/ts-methods-datepicker-dialog.md) - [文本选择弹窗](reference/arkui-ts/ts-methods-textpicker-dialog.md) - [菜单](reference/arkui-ts/ts-methods-menu.md) - - 附录 - - [文档中涉及到的内置枚举值](reference/arkui-ts/ts-appendix-enums.md) + - [文档中涉及到的内置枚举值](reference/arkui-ts/ts-appendix-enums.md) - 接口参考 - Ability框架 - [FeatureAbility模块](reference/apis/js-apis-featureAbility.md) -- GitLab