@quicktvui/ai 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/index.js +2 -0
- package/package.json +23 -0
- package/postinstall.js +61 -0
- package/rules/.claude/commands/create-component.md +39 -0
- package/rules/.claude/commands/create-page.md +44 -0
- package/rules/.claude/commands/create-project.md +25 -0
- package/rules/.claude/commands/lookup-api.md +28 -0
- package/rules/.claude/commands/lookup-css.md +53 -0
- package/rules/.claude/settings.local.json +11 -0
- package/rules/.clinerules +367 -0
- package/rules/.cursorrules +367 -0
- package/rules/.docs/examples/component/animation/alpha-props.vue +130 -0
- package/rules/.docs/examples/component/animation/alpha.vue +169 -0
- package/rules/.docs/examples/component/animation/animator-props.vue +101 -0
- package/rules/.docs/examples/component/animation/animators-props.vue +145 -0
- package/rules/.docs/examples/component/animation/animators.vue +322 -0
- package/rules/.docs/examples/component/animation/basic.vue +96 -0
- package/rules/.docs/examples/component/animation/interpolator.vue +330 -0
- package/rules/.docs/examples/component/animation/listener.vue +151 -0
- package/rules/.docs/examples/component/animation/repeat.vue +113 -0
- package/rules/.docs/examples/component/animation/rotation-props.vue +148 -0
- package/rules/.docs/examples/component/animation/rotation-xy.vue +255 -0
- package/rules/.docs/examples/component/animation/rotation.vue +188 -0
- package/rules/.docs/examples/component/animation/scale-props.vue +129 -0
- package/rules/.docs/examples/component/animation/scale.vue +169 -0
- package/rules/.docs/examples/component/animation/translation-props.vue +128 -0
- package/rules/.docs/examples/component/animation/translation.vue +169 -0
- package/rules/.docs/examples/component/aside/basic.vue +34 -0
- package/rules/.docs/examples/component/audio-player/basic.vue +104 -0
- package/rules/.docs/examples/component/audio-player/event-global.vue +492 -0
- package/rules/.docs/examples/component/audio-player/event.vue +447 -0
- package/rules/.docs/examples/component/audio-player/player-manager.vue +100 -0
- package/rules/.docs/examples/component/audio-player-service/basic.vue +102 -0
- package/rules/.docs/examples/component/audio-player-service/event-global.vue +488 -0
- package/rules/.docs/examples/component/audio-player-service/event.vue +420 -0
- package/rules/.docs/examples/component/audio-player-service/player-manager.vue +100 -0
- package/rules/.docs/examples/component/button/background.vue +28 -0
- package/rules/.docs/examples/component/button/basic.vue +13 -0
- package/rules/.docs/examples/component/button/border.vue +18 -0
- package/rules/.docs/examples/component/button/custom-content.vue +18 -0
- package/rules/.docs/examples/component/button/custom-icon-style.vue +25 -0
- package/rules/.docs/examples/component/button/custom-icon.vue +19 -0
- package/rules/.docs/examples/component/button/custom-net-icon.vue +20 -0
- package/rules/.docs/examples/component/button/custom-style.vue +17 -0
- package/rules/.docs/examples/component/button/custom-text.vue +23 -0
- package/rules/.docs/examples/component/button/disabled.vue +13 -0
- package/rules/.docs/examples/component/button/round.vue +13 -0
- package/rules/.docs/examples/component/button/size.vue +16 -0
- package/rules/.docs/examples/component/button/square.vue +13 -0
- package/rules/.docs/examples/component/checkbox-group/basic.vue +97 -0
- package/rules/.docs/examples/component/collapse/basic.vue +156 -0
- package/rules/.docs/examples/component/column/basic.vue +15 -0
- package/rules/.docs/examples/component/container/layout-ahm.vue +48 -0
- package/rules/.docs/examples/component/container/layout-ahmf.vue +51 -0
- package/rules/.docs/examples/component/container/layout-am.vue +43 -0
- package/rules/.docs/examples/component/container/layout-ham.vue +48 -0
- package/rules/.docs/examples/component/container/layout-hamf.vue +53 -0
- package/rules/.docs/examples/component/container/layout-hm.vue +43 -0
- package/rules/.docs/examples/component/container/layout-hmf.vue +46 -0
- package/rules/.docs/examples/component/dialog/basic.vue +72 -0
- package/rules/.docs/examples/component/div/background-img.vue +49 -0
- package/rules/.docs/examples/component/div/background.vue +28 -0
- package/rules/.docs/examples/component/div/basic.vue +28 -0
- package/rules/.docs/examples/component/div/border.vue +72 -0
- package/rules/.docs/examples/component/div/click.vue +66 -0
- package/rules/.docs/examples/component/div/focus-background.vue +60 -0
- package/rules/.docs/examples/component/div/focus.vue +58 -0
- package/rules/.docs/examples/component/div/gradient-background.vue +36 -0
- package/rules/.docs/examples/component/footer/basic.vue +34 -0
- package/rules/.docs/examples/component/grid-view/basic.vue +59 -0
- package/rules/.docs/examples/component/grid-view/page.vue +80 -0
- package/rules/.docs/examples/component/grid-view/ref-base.vue +50 -0
- package/rules/.docs/examples/component/grid-view/ref-page.vue +102 -0
- package/rules/.docs/examples/component/header/basic.vue +39 -0
- package/rules/.docs/examples/component/html/alert.vue +28 -0
- package/rules/.docs/examples/component/html/audio.vue +24 -0
- package/rules/.docs/examples/component/html/h.vue +30 -0
- package/rules/.docs/examples/component/html/sound.vue +33 -0
- package/rules/.docs/examples/component/html/video.vue +23 -0
- package/rules/.docs/examples/component/image/assets.vue +40 -0
- package/rules/.docs/examples/component/image/network.vue +36 -0
- package/rules/.docs/examples/component/img/assets.vue +40 -0
- package/rules/.docs/examples/component/img/network.vue +36 -0
- package/rules/.docs/examples/component/indicator-list-view/basic.vue +476 -0
- package/rules/.docs/examples/component/input/basic.vue +26 -0
- package/rules/.docs/examples/component/list-view/basic.vue +58 -0
- package/rules/.docs/examples/component/list-view/ref-basic.vue +33 -0
- package/rules/.docs/examples/component/list-view/ref-operations.vue +58 -0
- package/rules/.docs/examples/component/list-view/ref-page.vue +82 -0
- package/rules/.docs/examples/component/loading/basic.vue +12 -0
- package/rules/.docs/examples/component/lottie/basic.vue +83 -0
- package/rules/.docs/examples/component/lottie/event.vue +126 -0
- package/rules/.docs/examples/component/lottie/local.vue +90 -0
- package/rules/.docs/examples/component/lottie/network.vue +82 -0
- package/rules/.docs/examples/component/main/basic.vue +34 -0
- package/rules/.docs/examples/component/nav-bar/basic.vue +45 -0
- package/rules/.docs/examples/component/p/basic.vue +40 -0
- package/rules/.docs/examples/component/p/gravity.vue +62 -0
- package/rules/.docs/examples/component/player-manager/aspect-ratio.vue +286 -0
- package/rules/.docs/examples/component/player-manager/basic.vue +87 -0
- package/rules/.docs/examples/component/player-manager/control.vue +356 -0
- package/rules/.docs/examples/component/player-manager/custom-player-view.vue +105 -0
- package/rules/.docs/examples/component/player-manager/custom-player.vue +100 -0
- package/rules/.docs/examples/component/player-manager/decode.vue +218 -0
- package/rules/.docs/examples/component/player-manager/definition.vue +199 -0
- package/rules/.docs/examples/component/player-manager/event-global.vue +581 -0
- package/rules/.docs/examples/component/player-manager/event.vue +632 -0
- package/rules/.docs/examples/component/player-manager/image-player.vue +331 -0
- package/rules/.docs/examples/component/player-manager/media-item-interceptor.vue +105 -0
- package/rules/.docs/examples/component/player-manager/media-item-list-interceptor.vue +104 -0
- package/rules/.docs/examples/component/player-manager/media-item-list.vue +268 -0
- package/rules/.docs/examples/component/player-manager/media-source-interceptor.vue +115 -0
- package/rules/.docs/examples/component/player-manager/media-source-list-interceptor.vue +111 -0
- package/rules/.docs/examples/component/player-manager/multi-player.vue +130 -0
- package/rules/.docs/examples/component/player-manager/play-mode.vue +260 -0
- package/rules/.docs/examples/component/player-manager/play-rate.vue +244 -0
- package/rules/.docs/examples/component/player-manager/player-size.vue +119 -0
- package/rules/.docs/examples/component/player-manager/player-view.vue +381 -0
- package/rules/.docs/examples/component/player-manager/post-roll-ad.vue +189 -0
- package/rules/.docs/examples/component/player-manager/previous-roll-ad.vue +172 -0
- package/rules/.docs/examples/component/player-manager/start-position.vue +108 -0
- package/rules/.docs/examples/component/player-manager/text-left-player.vue +306 -0
- package/rules/.docs/examples/component/player-manager/text-right-player.vue +306 -0
- package/rules/.docs/examples/component/player-manager/window.vue +140 -0
- package/rules/.docs/examples/component/poster/basic.vue +144 -0
- package/rules/.docs/examples/component/poster/corner.vue +123 -0
- package/rules/.docs/examples/component/poster/decoration.vue +82 -0
- package/rules/.docs/examples/component/poster/float-title.vue +103 -0
- package/rules/.docs/examples/component/poster/ripple.vue +118 -0
- package/rules/.docs/examples/component/poster/score.vue +108 -0
- package/rules/.docs/examples/component/poster/shadow.vue +113 -0
- package/rules/.docs/examples/component/poster/shimmer.vue +113 -0
- package/rules/.docs/examples/component/poster/sub-title.vue +110 -0
- package/rules/.docs/examples/component/poster/title.vue +106 -0
- package/rules/.docs/examples/component/progress-bar/basic.vue +61 -0
- package/rules/.docs/examples/component/qr-code/basic.vue +16 -0
- package/rules/.docs/examples/component/radio-group/basic.vue +105 -0
- package/rules/.docs/examples/component/rating-bar/basic.vue +152 -0
- package/rules/.docs/examples/component/row/basic.vue +15 -0
- package/rules/.docs/examples/component/seek-bar/bar.vue +49 -0
- package/rules/.docs/examples/component/seek-bar/basic.vue +191 -0
- package/rules/.docs/examples/component/seek-bar/indicator.vue +74 -0
- package/rules/.docs/examples/component/seek-bar/range-mode.vue +130 -0
- package/rules/.docs/examples/component/seek-bar/single-mode.vue +113 -0
- package/rules/.docs/examples/component/seek-bar/step.vue +186 -0
- package/rules/.docs/examples/component/seek-bar/thumb.vue +148 -0
- package/rules/.docs/examples/component/seek-bar/tick-mark.vue +121 -0
- package/rules/.docs/examples/component/switch/basic.vue +26 -0
- package/rules/.docs/examples/component/tabs/basic.vue +109 -0
- package/rules/.docs/examples/component/tabs/custom-tab-item.vue +120 -0
- package/rules/.docs/examples/component/tabs/data.vue +121 -0
- package/rules/.docs/examples/component/tabs/horizontal.vue +118 -0
- package/rules/.docs/examples/component/tabs/item-add.vue +127 -0
- package/rules/.docs/examples/component/tabs/item-custom.vue +132 -0
- package/rules/.docs/examples/component/tabs/item-delete.vue +123 -0
- package/rules/.docs/examples/component/tabs/item-get.vue +124 -0
- package/rules/.docs/examples/component/tabs/item-update.vue +129 -0
- package/rules/.docs/examples/component/tabs/ref-basic.vue +63 -0
- package/rules/.docs/examples/component/tabs/ref-operations.vue +97 -0
- package/rules/.docs/examples/component/tabs/ref-page.vue +89 -0
- package/rules/.docs/examples/component/tabs/section-add.vue +138 -0
- package/rules/.docs/examples/component/tabs/section-delete.vue +126 -0
- package/rules/.docs/examples/component/tabs/section-get.vue +128 -0
- package/rules/.docs/examples/component/tabs/section-update.vue +137 -0
- package/rules/.docs/examples/component/tabs/section-vue.vue +111 -0
- package/rules/.docs/examples/component/tabs/single-tab.vue +112 -0
- package/rules/.docs/examples/component/text/basic.vue +20 -0
- package/rules/.docs/examples/component/text/ellipsize-mode.vue +122 -0
- package/rules/.docs/examples/component/text/gravity.vue +119 -0
- package/rules/.docs/examples/component/video-player/aspect-ratio.vue +242 -0
- package/rules/.docs/examples/component/video-player/basic.vue +82 -0
- package/rules/.docs/examples/component/video-player/control.vue +240 -0
- package/rules/.docs/examples/component/video-player/decode.vue +174 -0
- package/rules/.docs/examples/component/video-player/definition.vue +194 -0
- package/rules/.docs/examples/component/video-player/event-global.vue +89 -0
- package/rules/.docs/examples/component/video-player/event.vue +448 -0
- package/rules/.docs/examples/component/video-player/page.vue +150 -0
- package/rules/.docs/examples/component/video-player/play-mode.vue +220 -0
- package/rules/.docs/examples/component/video-player/play-rate.vue +198 -0
- package/rules/.docs/examples/component/video-player/progress.vue +211 -0
- package/rules/.docs/examples/component/video-player/render.vue +187 -0
- package/rules/.docs/examples/component/video-player/type.vue +133 -0
- package/rules/.docs/examples/component/view/background-img.vue +49 -0
- package/rules/.docs/examples/component/view/background.vue +28 -0
- package/rules/.docs/examples/component/view/basic.vue +28 -0
- package/rules/.docs/examples/component/view/border.vue +72 -0
- package/rules/.docs/examples/component/view/click.vue +66 -0
- package/rules/.docs/examples/component/view/focus-background.vue +60 -0
- package/rules/.docs/examples/component/view/focus.vue +58 -0
- package/rules/.docs/examples/component/view/gradient-background.vue +36 -0
- package/rules/.docs/examples/component/waterfall/basic.vue +167 -0
- package/rules/.docs/examples/component/waterfall/event.vue +154 -0
- package/rules/.docs/examples/component/waterfall/item-add.vue +82 -0
- package/rules/.docs/examples/component/waterfall/item-card-placeholder.vue +67 -0
- package/rules/.docs/examples/component/waterfall/item-card.vue +66 -0
- package/rules/.docs/examples/component/waterfall/item-custom.vue +81 -0
- package/rules/.docs/examples/component/waterfall/item-decoration.vue +63 -0
- package/rules/.docs/examples/component/waterfall/item-delete.vue +90 -0
- package/rules/.docs/examples/component/waterfall/item-get.vue +68 -0
- package/rules/.docs/examples/component/waterfall/item-update.vue +85 -0
- package/rules/.docs/examples/component/waterfall/ref-base.vue +141 -0
- package/rules/.docs/examples/component/waterfall/ref-operations.vue +192 -0
- package/rules/.docs/examples/component/waterfall/section-add.vue +72 -0
- package/rules/.docs/examples/component/waterfall/section-background.vue +94 -0
- package/rules/.docs/examples/component/waterfall/section-blank.vue +62 -0
- package/rules/.docs/examples/component/waterfall/section-card-placeholder.vue +90 -0
- package/rules/.docs/examples/component/waterfall/section-card.vue +83 -0
- package/rules/.docs/examples/component/waterfall/section-custom.vue +68 -0
- package/rules/.docs/examples/component/waterfall/section-decoration.vue +80 -0
- package/rules/.docs/examples/component/waterfall/section-delete.vue +76 -0
- package/rules/.docs/examples/component/waterfall/section-end.vue +91 -0
- package/rules/.docs/examples/component/waterfall/section-get.vue +74 -0
- package/rules/.docs/examples/component/waterfall/section-list.vue +56 -0
- package/rules/.docs/examples/component/waterfall/section-tabs-list.vue +149 -0
- package/rules/.docs/examples/component/waterfall/section-tabs.vue +153 -0
- package/rules/.docs/examples/component/waterfall/section-time.vue +48 -0
- package/rules/.docs/examples/component/waterfall/section-update.vue +118 -0
- package/rules/.docs/examples/component/waterfall/section-vue.vue +81 -0
- package/rules/.docs/examples/component/web-view/basic.vue +54 -0
- package/rules/.docs/examples/component/web-view/js-2-vue.vue +49 -0
- package/rules/.docs/examples/component/web-view/vue-2-js.vue +60 -0
- package/rules/.docs/examples/component/x5-web-view/basic.vue +54 -0
- package/rules/.docs/examples/css/gradient/basic.vue +43 -0
- package/rules/.docs/examples/css/gradient/corner-radii4.vue +86 -0
- package/rules/.docs/examples/css/gradient/corner-radius.vue +86 -0
- package/rules/.docs/examples/css/gradient/orientation.vue +168 -0
- package/rules/.docs/examples/css/gradient/shape.vue +97 -0
- package/rules/.docs/examples/css/gradient/type.vue +83 -0
- package/rules/.docs/examples/guide/router/app.vue +52 -0
- package/rules/.docs/examples/guide/slot/basic.vue +32 -0
- package/rules/.docs/examples/guide/slot/lifecycle.vue +106 -0
- package/rules/.docs/examples/module/action-bar/es-basic.vue +51 -0
- package/rules/.docs/examples/module/action-bar/qt-basic.vue +47 -0
- package/rules/.docs/examples/module/app-list/es-basic.vue +53 -0
- package/rules/.docs/examples/module/app-list/qt-basic.vue +50 -0
- package/rules/.docs/examples/module/audio/es-basic.vue +71 -0
- package/rules/.docs/examples/module/audio/qt-basic.vue +63 -0
- package/rules/.docs/examples/module/brightness/es-basic.vue +118 -0
- package/rules/.docs/examples/module/brightness/qt-basic.vue +115 -0
- package/rules/.docs/examples/module/broadcast/es-basic.vue +340 -0
- package/rules/.docs/examples/module/broadcast/qt-basic.vue +331 -0
- package/rules/.docs/examples/module/content-provider/es-basic.vue +92 -0
- package/rules/.docs/examples/module/content-provider/qt-basic.vue +86 -0
- package/rules/.docs/examples/module/develop/es-basic.vue +45 -0
- package/rules/.docs/examples/module/develop/qt-basic.vue +43 -0
- package/rules/.docs/examples/module/device/es-basic.vue +169 -0
- package/rules/.docs/examples/module/device/qt-basic.vue +166 -0
- package/rules/.docs/examples/module/display/es-basic.vue +45 -0
- package/rules/.docs/examples/module/display/qt-basic.vue +43 -0
- package/rules/.docs/examples/module/download/es-basic.vue +174 -0
- package/rules/.docs/examples/module/download/qt-basic.vue +168 -0
- package/rules/.docs/examples/module/es/es-basic.vue +74 -0
- package/rules/.docs/examples/module/es/qt-basic.vue +74 -0
- package/rules/.docs/examples/module/event-bus/es-emit.vue +31 -0
- package/rules/.docs/examples/module/event-bus/es-off.vue +53 -0
- package/rules/.docs/examples/module/event-bus/es-on.vue +56 -0
- package/rules/.docs/examples/module/event-bus/es-once.vue +47 -0
- package/rules/.docs/examples/module/event-bus/qt-emit.vue +28 -0
- package/rules/.docs/examples/module/event-bus/qt-off.vue +51 -0
- package/rules/.docs/examples/module/event-bus/qt-on.vue +53 -0
- package/rules/.docs/examples/module/event-bus/qt-once.vue +45 -0
- package/rules/.docs/examples/module/file/es-basic.vue +188 -0
- package/rules/.docs/examples/module/iac/es-basic.vue +211 -0
- package/rules/.docs/examples/module/iac/qt-basic.vue +208 -0
- package/rules/.docs/examples/module/key/es-back.vue +32 -0
- package/rules/.docs/examples/module/key/es-dispatch.vue +34 -0
- package/rules/.docs/examples/module/key/es-event.vue +34 -0
- package/rules/.docs/examples/module/local-storage/es-basic.vue +92 -0
- package/rules/.docs/examples/module/local-storage/qt-basic.vue +86 -0
- package/rules/.docs/examples/module/location/es-basic.vue +69 -0
- package/rules/.docs/examples/module/location/qt-basic.vue +67 -0
- package/rules/.docs/examples/module/log/es-basic.vue +45 -0
- package/rules/.docs/examples/module/log/qt-basic.vue +44 -0
- package/rules/.docs/examples/module/network/es-basic.vue +64 -0
- package/rules/.docs/examples/module/network/qt-basic.vue +60 -0
- package/rules/.docs/examples/module/page/es-app-lifecycle.vue +83 -0
- package/rules/.docs/examples/module/page/es-page-lifecycle.vue +80 -0
- package/rules/.docs/examples/module/page/es-page-state.vue +36 -0
- package/rules/.docs/examples/module/permission/es-basic.vue +62 -0
- package/rules/.docs/examples/module/permission/qt-basic.vue +59 -0
- package/rules/.docs/examples/module/plugin/es-basic.vue +71 -0
- package/rules/.docs/examples/module/plugin/qt-basic.vue +69 -0
- package/rules/.docs/examples/module/power/es-basic.vue +45 -0
- package/rules/.docs/examples/module/power/qt-basic.vue +41 -0
- package/rules/.docs/examples/module/runtime/es-basic.vue +42 -0
- package/rules/.docs/examples/module/runtime/qt-basic.vue +40 -0
- package/rules/.docs/examples/module/service/es-basic.vue +34 -0
- package/rules/.docs/examples/module/service/qt-basic.vue +31 -0
- package/rules/.docs/examples/module/share-data/es-basic.vue +266 -0
- package/rules/.docs/examples/module/share-data/qt-basic.vue +259 -0
- package/rules/.docs/examples/module/toast/es-basic.vue +47 -0
- package/rules/.docs/examples/module/toast/qt-basic.vue +44 -0
- package/rules/.docs/examples/module/upload/es-basic.vue +65 -0
- package/rules/.docs/examples/module/upload/qt-basic.vue +63 -0
- package/rules/.docs/examples/module/usb/es-basic.vue +138 -0
- package/rules/.docs/examples/module/usb/qt-basic.vue +135 -0
- package/rules/.docs/examples/module/xlog/es-basic.vue +45 -0
- package/rules/.docs/examples/module/xlog/qt-basic.vue +44 -0
- package/rules/.docs/examples/test/basic.vue +48 -0
- package/rules/.docs/index.md +7 -0
- package/rules/.docs/zh-CN/component/animation/alpha.md +22 -0
- package/rules/.docs/zh-CN/component/animation/animators.md +227 -0
- package/rules/.docs/zh-CN/component/animation/interpolator.md +59 -0
- package/rules/.docs/zh-CN/component/animation/introduction.md +101 -0
- package/rules/.docs/zh-CN/component/animation/listener.md +175 -0
- package/rules/.docs/zh-CN/component/animation/method.md +87 -0
- package/rules/.docs/zh-CN/component/animation/props.md +76 -0
- package/rules/.docs/zh-CN/component/animation/repeat.md +46 -0
- package/rules/.docs/zh-CN/component/animation/rotation-xy.md +17 -0
- package/rules/.docs/zh-CN/component/animation/rotation.md +23 -0
- package/rules/.docs/zh-CN/component/animation/scale.md +24 -0
- package/rules/.docs/zh-CN/component/animation/translation.md +22 -0
- package/rules/.docs/zh-CN/component/app-icon.md +22 -0
- package/rules/.docs/zh-CN/component/aside.md +14 -0
- package/rules/.docs/zh-CN/component/audio-player/basic.md +52 -0
- package/rules/.docs/zh-CN/component/audio-player/installation.md +26 -0
- package/rules/.docs/zh-CN/component/audio-player/introduction.md +12 -0
- package/rules/.docs/zh-CN/component/audio-player/player-manager.md +72 -0
- package/rules/.docs/zh-CN/component/audio-service-player/basic.md +52 -0
- package/rules/.docs/zh-CN/component/audio-service-player/installation.md +26 -0
- package/rules/.docs/zh-CN/component/audio-service-player/introduction.md +13 -0
- package/rules/.docs/zh-CN/component/audio-service-player/player-manager.md +71 -0
- package/rules/.docs/zh-CN/component/button.md +120 -0
- package/rules/.docs/zh-CN/component/card-container.md +24 -0
- package/rules/.docs/zh-CN/component/card.md +17 -0
- package/rules/.docs/zh-CN/component/checkbox-group.md +57 -0
- package/rules/.docs/zh-CN/component/classified-list-view.md +44 -0
- package/rules/.docs/zh-CN/component/collapse.md +45 -0
- package/rules/.docs/zh-CN/component/column.md +26 -0
- package/rules/.docs/zh-CN/component/container.md +81 -0
- package/rules/.docs/zh-CN/component/dialog.md +26 -0
- package/rules/.docs/zh-CN/component/div.md +234 -0
- package/rules/.docs/zh-CN/component/flex-view.md +14 -0
- package/rules/.docs/zh-CN/component/footer.md +14 -0
- package/rules/.docs/zh-CN/component/grid-view.md +221 -0
- package/rules/.docs/zh-CN/component/header.md +15 -0
- package/rules/.docs/zh-CN/component/html/alert.md +14 -0
- package/rules/.docs/zh-CN/component/html/audio.md +37 -0
- package/rules/.docs/zh-CN/component/html/h.md +15 -0
- package/rules/.docs/zh-CN/component/html/installation.md +67 -0
- package/rules/.docs/zh-CN/component/html/introduction.md +10 -0
- package/rules/.docs/zh-CN/component/html/video.md +39 -0
- package/rules/.docs/zh-CN/component/image.md +88 -0
- package/rules/.docs/zh-CN/component/img.md +118 -0
- package/rules/.docs/zh-CN/component/indicator-list-view.md +118 -0
- package/rules/.docs/zh-CN/component/input.md +54 -0
- package/rules/.docs/zh-CN/component/item-store.md +14 -0
- package/rules/.docs/zh-CN/component/item-view.md +14 -0
- package/rules/.docs/zh-CN/component/js-view.md +14 -0
- package/rules/.docs/zh-CN/component/js2vue.md +43 -0
- package/rules/.docs/zh-CN/component/large-list.md +20 -0
- package/rules/.docs/zh-CN/component/li.md +16 -0
- package/rules/.docs/zh-CN/component/list-item.md +34 -0
- package/rules/.docs/zh-CN/component/list-view.md +233 -0
- package/rules/.docs/zh-CN/component/loading.md +22 -0
- package/rules/.docs/zh-CN/component/lottie/assets.md +19 -0
- package/rules/.docs/zh-CN/component/lottie/basic.md +51 -0
- package/rules/.docs/zh-CN/component/lottie/event.md +23 -0
- package/rules/.docs/zh-CN/component/lottie/introduction.md +93 -0
- package/rules/.docs/zh-CN/component/lottie/network.md +12 -0
- package/rules/.docs/zh-CN/component/main.md +14 -0
- package/rules/.docs/zh-CN/component/media-series.md +44 -0
- package/rules/.docs/zh-CN/component/nav-bar.md +51 -0
- package/rules/.docs/zh-CN/component/overview.md +20 -0
- package/rules/.docs/zh-CN/component/p.md +55 -0
- package/rules/.docs/zh-CN/component/play-mark-view.md +25 -0
- package/rules/.docs/zh-CN/component/player/global-event.md +24 -0
- package/rules/.docs/zh-CN/component/player/interceptor.md +48 -0
- package/rules/.docs/zh-CN/component/player/media-player.md +43 -0
- package/rules/.docs/zh-CN/component/player/page-player.md +118 -0
- package/rules/.docs/zh-CN/component/player/player.md +190 -0
- package/rules/.docs/zh-CN/component/player-manager/aspect-ratio.md +51 -0
- package/rules/.docs/zh-CN/component/player-manager/basic.md +69 -0
- package/rules/.docs/zh-CN/component/player-manager/control.md +32 -0
- package/rules/.docs/zh-CN/component/player-manager/custom-control.md +105 -0
- package/rules/.docs/zh-CN/component/player-manager/data-structure.md +29 -0
- package/rules/.docs/zh-CN/component/player-manager/decode.md +46 -0
- package/rules/.docs/zh-CN/component/player-manager/definition.md +85 -0
- package/rules/.docs/zh-CN/component/player-manager/event.md +16 -0
- package/rules/.docs/zh-CN/component/player-manager/global-event.md +304 -0
- package/rules/.docs/zh-CN/component/player-manager/installation.md +33 -0
- package/rules/.docs/zh-CN/component/player-manager/introduction.md +207 -0
- package/rules/.docs/zh-CN/component/player-manager/media-item-interceptor.md +197 -0
- package/rules/.docs/zh-CN/component/player-manager/media-item-list-interceptor.md +189 -0
- package/rules/.docs/zh-CN/component/player-manager/media-item-list.md +31 -0
- package/rules/.docs/zh-CN/component/player-manager/media-source-interceptor.md +166 -0
- package/rules/.docs/zh-CN/component/player-manager/media-source-list-interceptor.md +168 -0
- package/rules/.docs/zh-CN/component/player-manager/mode.md +46 -0
- package/rules/.docs/zh-CN/component/player-manager/multiple-player.md +124 -0
- package/rules/.docs/zh-CN/component/player-manager/player-type.md +38 -0
- package/rules/.docs/zh-CN/component/player-manager/player-view.md +31 -0
- package/rules/.docs/zh-CN/component/player-manager/player.md +73 -0
- package/rules/.docs/zh-CN/component/player-manager/position.md +27 -0
- package/rules/.docs/zh-CN/component/player-manager/rate.md +53 -0
- package/rules/.docs/zh-CN/component/player-manager/size.md +17 -0
- package/rules/.docs/zh-CN/component/player-manager/window.md +65 -0
- package/rules/.docs/zh-CN/component/plugin-view.md +21 -0
- package/rules/.docs/zh-CN/component/poster.md +102 -0
- package/rules/.docs/zh-CN/component/progress-bar.md +347 -0
- package/rules/.docs/zh-CN/component/qr-code.md +23 -0
- package/rules/.docs/zh-CN/component/radio-group.md +57 -0
- package/rules/.docs/zh-CN/component/rating-bar.md +43 -0
- package/rules/.docs/zh-CN/component/replace-child.md +20 -0
- package/rules/.docs/zh-CN/component/ripple-view.md +14 -0
- package/rules/.docs/zh-CN/component/row.md +29 -0
- package/rules/.docs/zh-CN/component/scroll-view.md +21 -0
- package/rules/.docs/zh-CN/component/seek-bar.md +377 -0
- package/rules/.docs/zh-CN/component/surface-view.md +14 -0
- package/rules/.docs/zh-CN/component/swift-list.md +21 -0
- package/rules/.docs/zh-CN/component/swiper-slide.md +18 -0
- package/rules/.docs/zh-CN/component/swiper.md +34 -0
- package/rules/.docs/zh-CN/component/switch.md +37 -0
- package/rules/.docs/zh-CN/component/tabs-view.md +44 -0
- package/rules/.docs/zh-CN/component/tabs.md +286 -0
- package/rules/.docs/zh-CN/component/test.md +58 -0
- package/rules/.docs/zh-CN/component/text.md +115 -0
- package/rules/.docs/zh-CN/component/transition-img.md +22 -0
- package/rules/.docs/zh-CN/component/ul.md +83 -0
- package/rules/.docs/zh-CN/component/video-player/aspect-ratio.md +49 -0
- package/rules/.docs/zh-CN/component/video-player/basic.md +55 -0
- package/rules/.docs/zh-CN/component/video-player/control.md +23 -0
- package/rules/.docs/zh-CN/component/video-player/decode.md +46 -0
- package/rules/.docs/zh-CN/component/video-player/definition.md +85 -0
- package/rules/.docs/zh-CN/component/video-player/event.md +16 -0
- package/rules/.docs/zh-CN/component/video-player/global-event.md +268 -0
- package/rules/.docs/zh-CN/component/video-player/installation.md +33 -0
- package/rules/.docs/zh-CN/component/video-player/introduction.md +18 -0
- package/rules/.docs/zh-CN/component/video-player/mode.md +50 -0
- package/rules/.docs/zh-CN/component/video-player/progress.md +51 -0
- package/rules/.docs/zh-CN/component/video-player/rate.md +53 -0
- package/rules/.docs/zh-CN/component/video-player/render.md +47 -0
- package/rules/.docs/zh-CN/component/video-player/type.md +32 -0
- package/rules/.docs/zh-CN/component/view-pager.md +14 -0
- package/rules/.docs/zh-CN/component/view.md +234 -0
- package/rules/.docs/zh-CN/component/virtual-dom.md +4 -0
- package/rules/.docs/zh-CN/component/virtual.md +8 -0
- package/rules/.docs/zh-CN/component/vue-section.md +29 -0
- package/rules/.docs/zh-CN/component/vue2js.md +47 -0
- package/rules/.docs/zh-CN/component/waterfall.md +447 -0
- package/rules/.docs/zh-CN/component/web-view.md +100 -0
- package/rules/.docs/zh-CN/component/x5web-view.md +100 -0
- package/rules/.docs/zh-CN/cooperation/index.md +6 -0
- package/rules/.docs/zh-CN/css/color/gradient.md +111 -0
- package/rules/.docs/zh-CN/css/color/hsl.md +11 -0
- package/rules/.docs/zh-CN/css/color/name.md +151 -0
- package/rules/.docs/zh-CN/css/color/rgb.md +16 -0
- package/rules/.docs/zh-CN/css/color/transparent.md +9 -0
- package/rules/.docs/zh-CN/css/layout/align-items.md +13 -0
- package/rules/.docs/zh-CN/css/layout/align-self.md +12 -0
- package/rules/.docs/zh-CN/css/layout/background-position-x.md +12 -0
- package/rules/.docs/zh-CN/css/layout/background-position-y.md +12 -0
- package/rules/.docs/zh-CN/css/layout/background-size.md +12 -0
- package/rules/.docs/zh-CN/css/layout/collapsable.md +13 -0
- package/rules/.docs/zh-CN/css/layout/display.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex-basis.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex-direction.md +15 -0
- package/rules/.docs/zh-CN/css/layout/flex-grow.md +15 -0
- package/rules/.docs/zh-CN/css/layout/flex-shrink.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex-wrap.md +12 -0
- package/rules/.docs/zh-CN/css/layout/flex.md +12 -0
- package/rules/.docs/zh-CN/css/layout/height.md +12 -0
- package/rules/.docs/zh-CN/css/layout/justify-content.md +12 -0
- package/rules/.docs/zh-CN/css/layout/left.md +13 -0
- package/rules/.docs/zh-CN/css/layout/line-height.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-bottom.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-horizontal.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-left.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-right.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-top.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin-vertical.md +12 -0
- package/rules/.docs/zh-CN/css/layout/margin.md +12 -0
- package/rules/.docs/zh-CN/css/layout/max-height.md +10 -0
- package/rules/.docs/zh-CN/css/layout/max-width.md +10 -0
- package/rules/.docs/zh-CN/css/layout/min-height.md +10 -0
- package/rules/.docs/zh-CN/css/layout/min-width.md +10 -0
- package/rules/.docs/zh-CN/css/layout/overflow.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-bottom.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-horizontal.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-left.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-right.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-top.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding-vertical.md +12 -0
- package/rules/.docs/zh-CN/css/layout/padding.md +12 -0
- package/rules/.docs/zh-CN/css/layout/position.md +14 -0
- package/rules/.docs/zh-CN/css/layout/right.md +13 -0
- package/rules/.docs/zh-CN/css/layout/text-align.md +12 -0
- package/rules/.docs/zh-CN/css/layout/top.md +12 -0
- package/rules/.docs/zh-CN/css/layout/width.md +12 -0
- package/rules/.docs/zh-CN/css/layout/z-index.md +12 -0
- package/rules/.docs/zh-CN/css/overview.md +8 -0
- package/rules/.docs/zh-CN/css/style/background-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-left-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-right-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-bottom-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-left-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-left-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-right-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-right-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-style.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-left-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-right-radius.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-top-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/border-width.md +10 -0
- package/rules/.docs/zh-CN/css/style/box-shadow.md +10 -0
- package/rules/.docs/zh-CN/css/style/color.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-family.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-size.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-style.md +10 -0
- package/rules/.docs/zh-CN/css/style/font-weight.md +10 -0
- package/rules/.docs/zh-CN/css/style/letter-spacing.md +10 -0
- package/rules/.docs/zh-CN/css/style/opacity.md +10 -0
- package/rules/.docs/zh-CN/css/style/text-decoration-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/text-decoration-line.md +10 -0
- package/rules/.docs/zh-CN/css/style/text-decoration.md +12 -0
- package/rules/.docs/zh-CN/css/style/tint-color.md +10 -0
- package/rules/.docs/zh-CN/css/style/visibility.md +10 -0
- package/rules/.docs/zh-CN/guide/basic/appendix.md +35 -0
- package/rules/.docs/zh-CN/guide/basic/dev-debug.md +94 -0
- package/rules/.docs/zh-CN/guide/basic/dev-tools.md +22 -0
- package/rules/.docs/zh-CN/guide/basic/installation.md +144 -0
- package/rules/.docs/zh-CN/guide/basic/language.md +10 -0
- package/rules/.docs/zh-CN/guide/basic/package-manager.md +8 -0
- package/rules/.docs/zh-CN/guide/basic/quick-start.md +150 -0
- package/rules/.docs/zh-CN/guide/changelog.md +20 -0
- package/rules/.docs/zh-CN/guide/commit-examples.md +90 -0
- package/rules/.docs/zh-CN/guide/compile/obfuscator.md +56 -0
- package/rules/.docs/zh-CN/guide/compile/pack.md +8 -0
- package/rules/.docs/zh-CN/guide/compile/resource.md +96 -0
- package/rules/.docs/zh-CN/guide/compile/split-chunks.md +66 -0
- package/rules/.docs/zh-CN/guide/dark-mode.md +84 -0
- package/rules/.docs/zh-CN/guide/design.md +34 -0
- package/rules/.docs/zh-CN/guide/dev-faq.md +41 -0
- package/rules/.docs/zh-CN/guide/dev-guide.md +55 -0
- package/rules/.docs/zh-CN/guide/device/ch.md +18 -0
- package/rules/.docs/zh-CN/guide/device/haier.md +12 -0
- package/rules/.docs/zh-CN/guide/device/hisense.md +24 -0
- package/rules/.docs/zh-CN/guide/device/huawei.md +16 -0
- package/rules/.docs/zh-CN/guide/device/konka.md +12 -0
- package/rules/.docs/zh-CN/guide/device/le.md +19 -0
- package/rules/.docs/zh-CN/guide/device/skyworth.md +25 -0
- package/rules/.docs/zh-CN/guide/device/tcl.md +21 -0
- package/rules/.docs/zh-CN/guide/device/tencent.md +24 -0
- package/rules/.docs/zh-CN/guide/device/tmall.md +18 -0
- package/rules/.docs/zh-CN/guide/device/xiaomi.md +46 -0
- package/rules/.docs/zh-CN/guide/faq/dev-faq.md +100 -0
- package/rules/.docs/zh-CN/guide/faq/develop-faq.md +39 -0
- package/rules/.docs/zh-CN/guide/faq/launch-params-faq.md +119 -0
- package/rules/.docs/zh-CN/guide/faq/layout-style-faq.md +66 -0
- package/rules/.docs/zh-CN/guide/focus/auto-focus.md +94 -0
- package/rules/.docs/zh-CN/guide/focus/basic.md +133 -0
- package/rules/.docs/zh-CN/guide/focus/debug-tool.md +40 -0
- package/rules/.docs/zh-CN/guide/focus/focus-method.md +317 -0
- package/rules/.docs/zh-CN/guide/focus/list-auto-focus.md +94 -0
- package/rules/.docs/zh-CN/guide/focus/request-focus.md +10 -0
- package/rules/.docs/zh-CN/guide/interaction/click.md +39 -0
- package/rules/.docs/zh-CN/guide/interaction/focus.md +44 -0
- package/rules/.docs/zh-CN/guide/key/back.md +65 -0
- package/rules/.docs/zh-CN/guide/key/dispatch-key-event.md +41 -0
- package/rules/.docs/zh-CN/guide/key/key-event.md +87 -0
- package/rules/.docs/zh-CN/guide/layout/adapter.md +33 -0
- package/rules/.docs/zh-CN/guide/layout/layout.md +42 -0
- package/rules/.docs/zh-CN/guide/layout/style.md +64 -0
- package/rules/.docs/zh-CN/guide/layout/theming.md +154 -0
- package/rules/.docs/zh-CN/guide/migration.md +25 -0
- package/rules/.docs/zh-CN/guide/namespace.md +69 -0
- package/rules/.docs/zh-CN/guide/nav.md +73 -0
- package/rules/.docs/zh-CN/guide/network/axios.md +47 -0
- package/rules/.docs/zh-CN/guide/network/fetch.md +70 -0
- package/rules/.docs/zh-CN/guide/network/websocket.md +107 -0
- package/rules/.docs/zh-CN/guide/node/install.md +179 -0
- package/rules/.docs/zh-CN/guide/npm/install.md +74 -0
- package/rules/.docs/zh-CN/guide/overview.md +41 -0
- package/rules/.docs/zh-CN/guide/page/application-lifecycle.md +37 -0
- package/rules/.docs/zh-CN/guide/page/lifecycle.md +32 -0
- package/rules/.docs/zh-CN/guide/page/page-lifecycle.md +35 -0
- package/rules/.docs/zh-CN/guide/page/page-state.md +31 -0
- package/rules/.docs/zh-CN/guide/page/type.md +49 -0
- package/rules/.docs/zh-CN/guide/publish/hub.md +31 -0
- package/rules/.docs/zh-CN/guide/publish/release-apk.md +51 -0
- package/rules/.docs/zh-CN/guide/publish/release-rpk.md +45 -0
- package/rules/.docs/zh-CN/guide/router/async.md +25 -0
- package/rules/.docs/zh-CN/guide/router/entry.md +60 -0
- package/rules/.docs/zh-CN/guide/router/error.md +25 -0
- package/rules/.docs/zh-CN/guide/router/install.md +70 -0
- package/rules/.docs/zh-CN/guide/router/introduction.md +35 -0
- package/rules/.docs/zh-CN/guide/router/launch.md +88 -0
- package/rules/.docs/zh-CN/guide/router/limit.md +33 -0
- package/rules/.docs/zh-CN/guide/router/native.md +104 -0
- package/rules/.docs/zh-CN/guide/router/result.md +42 -0
- package/rules/.docs/zh-CN/guide/sfc-component/async-component.md +88 -0
- package/rules/.docs/zh-CN/guide/sfc-component/native-component.md +127 -0
- package/rules/.docs/zh-CN/guide/slot/develop.md +42 -0
- package/rules/.docs/zh-CN/guide/slot/install.md +59 -0
- package/rules/.docs/zh-CN/guide/slot/introduction.md +45 -0
- package/rules/.docs/zh-CN/guide/slot/lifecycle.md +18 -0
- package/rules/.docs/zh-CN/guide/slot/project.md +22 -0
- package/rules/.docs/zh-CN/guide/test.md +8 -0
- package/rules/.docs/zh-CN/guide/theming.md +254 -0
- package/rules/.docs/zh-CN/guide/translation.md +39 -0
- package/rules/.docs/zh-CN/index.md +9 -0
- package/rules/.docs/zh-CN/module/action-bar.md +32 -0
- package/rules/.docs/zh-CN/module/app-list.md +57 -0
- package/rules/.docs/zh-CN/module/audio.md +45 -0
- package/rules/.docs/zh-CN/module/brightness.md +33 -0
- package/rules/.docs/zh-CN/module/broadcast.md +77 -0
- package/rules/.docs/zh-CN/module/content-provider.md +64 -0
- package/rules/.docs/zh-CN/module/develop.md +45 -0
- package/rules/.docs/zh-CN/module/device.md +108 -0
- package/rules/.docs/zh-CN/module/display.md +33 -0
- package/rules/.docs/zh-CN/module/download.md +97 -0
- package/rules/.docs/zh-CN/module/es.md +74 -0
- package/rules/.docs/zh-CN/module/event-bus.md +68 -0
- package/rules/.docs/zh-CN/module/file.md +62 -0
- package/rules/.docs/zh-CN/module/iac.md +51 -0
- package/rules/.docs/zh-CN/module/local-storage.md +35 -0
- package/rules/.docs/zh-CN/module/location.md +48 -0
- package/rules/.docs/zh-CN/module/log.md +52 -0
- package/rules/.docs/zh-CN/module/network.md +77 -0
- package/rules/.docs/zh-CN/module/overview.md +10 -0
- package/rules/.docs/zh-CN/module/permission.md +42 -0
- package/rules/.docs/zh-CN/module/plugin.md +38 -0
- package/rules/.docs/zh-CN/module/power.md +51 -0
- package/rules/.docs/zh-CN/module/runtime.md +41 -0
- package/rules/.docs/zh-CN/module/service.md +33 -0
- package/rules/.docs/zh-CN/module/share-data.md +85 -0
- package/rules/.docs/zh-CN/module/toast.md +30 -0
- package/rules/.docs/zh-CN/module/upload.md +53 -0
- package/rules/.docs/zh-CN/module/usb.md +52 -0
- package/rules/.docs/zh-CN/module/xlog.md +48 -0
- package/rules/.docs/zh-CN/resource/runtime.md +88 -0
- package/rules/.docs/zh-CN/resource/test-flight.md +27 -0
- package/rules/.docs/zh-CN/runtime/runtime.md +81 -0
- package/rules/.docs/zh-CN/runtime/test-flight.md +23 -0
- package/rules/.docs/zh-CN/sample/ai-dev.md +250 -0
- package/rules/.docs/zh-CN/sample/api-demo.md +26 -0
- package/rules/.docs/zh-CN/sample/app-list.md +12 -0
- package/rules/.docs/zh-CN/sample/hello-tv.md +98 -0
- package/rules/.docs/zh-CN/sdk/cus_component.md +249 -0
- package/rules/.docs/zh-CN/sdk/cus_module.md +163 -0
- package/rules/.docs/zh-CN/sdk/cus_splash.md +97 -0
- package/rules/.docs/zh-CN/sdk/empty.md +0 -0
- package/rules/.docs/zh-CN/sdk/first_implementation.md +15 -0
- package/rules/.docs/zh-CN/sdk/first_init.md +13 -0
- package/rules/.docs/zh-CN/sdk/first_start_app.md +4 -0
- package/rules/.docs/zh-CN/sdk/light-card.md +116 -0
- package/rules/.docs/zh-CN/sdk/overview.md +5 -0
- package/rules/.docs/zh-CN/tool/api/overview.md +103 -0
- package/rules/.docs/zh-CN/tool/cli/adb.md +32 -0
- package/rules/.docs/zh-CN/tool/cli/build.md +14 -0
- package/rules/.docs/zh-CN/tool/cli/clean.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/config.md +37 -0
- package/rules/.docs/zh-CN/tool/cli/create.md +28 -0
- package/rules/.docs/zh-CN/tool/cli/debug.md +30 -0
- package/rules/.docs/zh-CN/tool/cli/info.md +14 -0
- package/rules/.docs/zh-CN/tool/cli/installation.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/introduction.md +26 -0
- package/rules/.docs/zh-CN/tool/cli/logcat.md +10 -0
- package/rules/.docs/zh-CN/tool/cli/migrate.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/pack.md +14 -0
- package/rules/.docs/zh-CN/tool/cli/preview.md +18 -0
- package/rules/.docs/zh-CN/tool/cli/publish.md +12 -0
- package/rules/.docs/zh-CN/tool/cli/setup.md +58 -0
- package/rules/.docs/zh-CN/tool/cli/start.md +54 -0
- package/rules/.docs/zh-CN/tool/cli/test.md +22 -0
- package/rules/.docs/zh-CN/tool/cli/upgrade.md +12 -0
- package/rules/.github/copilot-instructions.md +456 -0
- package/rules/.windsurfrules +367 -0
- package/rules/AGENTS.md +456 -0
- package/rules/AI_HANDOFF.md +376 -0
- package/rules/CLAUDE.md +836 -0
- package/rules/GEMINI.md +463 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: X5webView
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# X5webView
|
|
7
|
+
|
|
8
|
+
:::demo ## 基础用法
|
|
9
|
+
|
|
10
|
+
component/x5-web-view/basic
|
|
11
|
+
|
|
12
|
+
:::
|
|
13
|
+
|
|
14
|
+
## API
|
|
15
|
+
|
|
16
|
+
### Events
|
|
17
|
+
|
|
18
|
+
| Name | Description | Type |
|
|
19
|
+
| ----------------------- | ------------------------| ------------------------------------------------------------------- |
|
|
20
|
+
| onCanGoBack | 是否可以后退 | ^[Function]`(can: boolean) => void` |
|
|
21
|
+
| onCanGoForward | 是否可以前进 | ^[Function]`(can: boolean) => void` |
|
|
22
|
+
| onCanGoBackOrForward | 是否可以前进或后退 | ^[Function]`(can: boolean) => void` |
|
|
23
|
+
| onPageStarted | 页面加载开始 | ^[Function]`(url: string) => void` |
|
|
24
|
+
| onPageFinished | 页面加载结束 | ^[Function]`(url: string) => void` |
|
|
25
|
+
| onLoadResource | 页面加载资源 | ^[Function]`(url: string) => void` |
|
|
26
|
+
| onReceivedSslError | 接收到Ssl错误 | ^[Function]`(event: QTX5WebViewEvent) => void` |
|
|
27
|
+
| onReceivedError | 接收到错误 | ^[Function]`(errorCode: number, description: string, failingUrl: string) => void` |
|
|
28
|
+
| shouldOverrideUrlLoading| 是否对UrlLoading进行拦截 | ^[Function]`(url: string) => void` |
|
|
29
|
+
| onJs2Vue | js向vue发送事件 | ^[Function]`(value: string) => void` |
|
|
30
|
+
|
|
31
|
+
### Exposes
|
|
32
|
+
|
|
33
|
+
| Name | Description | Type |
|
|
34
|
+
| -------------------------------- | --------------------------- | -----------------------------------------------|
|
|
35
|
+
| loadUrl | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(url: string) => void` |
|
|
36
|
+
| evaluateJavascript |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => Promise<string \| undefined \| null>` |
|
|
37
|
+
| canGoBack |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
38
|
+
| goBack |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
39
|
+
| canGoForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
40
|
+
| goForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
41
|
+
| canGoBackOrForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(steps: number) => void` |
|
|
42
|
+
| goBackOrForward |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(steps: number) => void` |
|
|
43
|
+
| onResume |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
44
|
+
| onPause |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
45
|
+
| pauseTimers |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
46
|
+
| resumeTimers |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
47
|
+
| destroy | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`() => void` |
|
|
48
|
+
| setJavaScriptEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
49
|
+
| setPluginState | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
50
|
+
| setJavaScriptCanOpenWindowsAutomatically |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
51
|
+
| setUseWideViewPort |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
52
|
+
| setLoadWithOverviewMode | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
53
|
+
| setSupportZoom |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
54
|
+
| setBuiltInZoomControls | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
55
|
+
| setDisplayZoomControls |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
56
|
+
| setAllowFileAccess |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
57
|
+
| setDomStorageEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
58
|
+
| setDatabaseEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
59
|
+
| setAppCacheEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
60
|
+
| setAppCachePath |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
61
|
+
| setMediaPlaybackRequiresUserGesture |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
62
|
+
| setStandardFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
63
|
+
| setFixedFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
64
|
+
| setSansSerifFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
65
|
+
| setSerifFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
66
|
+
| setCursiveFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
67
|
+
| setFantasyFontFamily |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
68
|
+
| setTextZoom |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
69
|
+
| setMinimumFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
70
|
+
| setDefaultFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
71
|
+
| setLayoutAlgorithm |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
72
|
+
| setLoadsImagesAutomatically |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
73
|
+
| setDefaultTextEncodingName |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
74
|
+
| setNeedInitialFocus |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
75
|
+
| setGeolocationEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
76
|
+
| setBlockNetworkLoads |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
77
|
+
| setSupportMultipleWindows |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
78
|
+
| setAppCacheMaxSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
79
|
+
| setRenderPriority |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
80
|
+
| setCacheMode |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
81
|
+
| setAllowContentAccess |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
82
|
+
| setEnableSmoothTransition |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
83
|
+
| setSaveFormData |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
84
|
+
| setSavePassword |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
85
|
+
| setTextSize | [参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
86
|
+
| setDefaultZoom |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
87
|
+
| setLightTouchEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
88
|
+
| setMinimumLogicalFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
89
|
+
| setDefaultFixedFontSize |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
90
|
+
| setBlockNetworkImage |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
91
|
+
| setAllowUniversalAccessFromFileURLs |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
92
|
+
| setAllowFileAccessFromFileURLs |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
93
|
+
| setDatabasePath |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
94
|
+
| setGeolocationDatabasePath |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
95
|
+
| setUserAgentString |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: string) => void` |
|
|
96
|
+
| setMixedContentMode |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
97
|
+
| setOffscreenPreRaster |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
98
|
+
| setSafeBrowsingEnabled |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: boolean) => void` |
|
|
99
|
+
| setForceDark |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
100
|
+
| setDisabledActionModeMenuItems |[参考WebView手册](https://developer.android.com/reference/android/webkit/WebView) | ^[Function]`(value: number) => void` |
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Gradient
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Gradient 渐变颜色
|
|
7
|
+
|
|
8
|
+
::: warning 注意:背景颜色必须设置透明 Gradient 才会生效
|
|
9
|
+
|
|
10
|
+
`background-color: transparent;`
|
|
11
|
+
:::
|
|
12
|
+
|
|
13
|
+
## 数据结构
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
export interface QTGradient {
|
|
17
|
+
type?: QTGradientType
|
|
18
|
+
shape?: QTGradientShape
|
|
19
|
+
orientation?: QTGradientOrientation
|
|
20
|
+
colors: Array<string>
|
|
21
|
+
gradientRadius?: number
|
|
22
|
+
cornerRadius?: number
|
|
23
|
+
cornerRadii4?: Array<number>
|
|
24
|
+
cornerRadii8?: Array<number>
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export enum QTGradientOrientation {
|
|
28
|
+
QT_GRADIENT_ORIENTATION_TOP_BOTTOM = 0,
|
|
29
|
+
QT_GRADIENT_ORIENTATION_TR_BL = 1,
|
|
30
|
+
QT_GRADIENT_ORIENTATION_RIGHT_LEFT = 2,
|
|
31
|
+
QT_GRADIENT_ORIENTATION_BR_TL = 3,
|
|
32
|
+
QT_GRADIENT_ORIENTATION_BOTTOM_TOP = 4,
|
|
33
|
+
QT_GRADIENT_ORIENTATION_BL_TR = 5,
|
|
34
|
+
QT_GRADIENT_ORIENTATION_LEFT_RIGHT = 6,
|
|
35
|
+
QT_GRADIENT_ORIENTATION_TL_BR = 7,
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export enum QTGradientShape {
|
|
39
|
+
QT_GRADIENT_SHAPE_RECTANGLE = 0,
|
|
40
|
+
QT_GRADIENT_SHAPE_OVAL = 1,
|
|
41
|
+
QT_GRADIENT_SHAPE_LINE = 2,
|
|
42
|
+
QT_GRADIENT_SHAPE_RING = 3,
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export enum QTGradientType {
|
|
46
|
+
QT_GRADIENT_TYPE_LINEAR_GRADIENT = 0,
|
|
47
|
+
QT_GRADIENT_TYPE_RADIAL_GRADIENT = 1,
|
|
48
|
+
QT_GRADIENT_TYPE_SWEEP_GRADIENT = 2,
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## 基础用法
|
|
54
|
+
|
|
55
|
+
<img src="/css/gradient/basic.jpg" />
|
|
56
|
+
|
|
57
|
+
:::demo
|
|
58
|
+
|
|
59
|
+
css/gradient/basic
|
|
60
|
+
|
|
61
|
+
:::
|
|
62
|
+
|
|
63
|
+
## Type
|
|
64
|
+
|
|
65
|
+
<img src="/css/gradient/type.jpg" />
|
|
66
|
+
|
|
67
|
+
:::demo
|
|
68
|
+
|
|
69
|
+
css/gradient/type
|
|
70
|
+
|
|
71
|
+
:::
|
|
72
|
+
|
|
73
|
+
## Shape
|
|
74
|
+
|
|
75
|
+
<img src="/css/gradient/shape.jpg" />
|
|
76
|
+
|
|
77
|
+
:::demo
|
|
78
|
+
|
|
79
|
+
css/gradient/shape
|
|
80
|
+
|
|
81
|
+
:::
|
|
82
|
+
|
|
83
|
+
## Orientation
|
|
84
|
+
|
|
85
|
+
<img src="/css/gradient/orientation.jpg" />
|
|
86
|
+
|
|
87
|
+
:::demo
|
|
88
|
+
|
|
89
|
+
css/gradient/orientation
|
|
90
|
+
|
|
91
|
+
:::
|
|
92
|
+
|
|
93
|
+
## CornerRadius
|
|
94
|
+
|
|
95
|
+
<img src="/css/gradient/corner-radius.jpg" />
|
|
96
|
+
|
|
97
|
+
:::demo
|
|
98
|
+
|
|
99
|
+
css/gradient/corner-radius
|
|
100
|
+
|
|
101
|
+
:::
|
|
102
|
+
|
|
103
|
+
## CornerRadii4
|
|
104
|
+
|
|
105
|
+
<img src="/css/gradient/corner-radii4.jpg" />
|
|
106
|
+
|
|
107
|
+
:::demo
|
|
108
|
+
|
|
109
|
+
css/gradient/corner-radii4
|
|
110
|
+
|
|
111
|
+
:::
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ColorName
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 颜色名称
|
|
7
|
+
|
|
8
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f0f8ff">aliceblue (#f0f8ff)</div>
|
|
9
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #faebd7">antiquewhite (#faebd7)</div>
|
|
10
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #00ffff">aqua (#00ffff)</div>
|
|
11
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #7fffd4">aquamarine (#7fffd4)</div>
|
|
12
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f0ffff">azure (#f0ffff)</div>
|
|
13
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f5f5dc">beige (#f5f5dc)</div>
|
|
14
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffe4c4">bisque (#ffe4c4)</div>
|
|
15
|
+
* <div style="width: 250px; padding: 6px; color: white; background-color: #000000">black (#000000)</div>
|
|
16
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffebcd">blanchedalmond (#ffebcd)</div>
|
|
17
|
+
* <div style="width: 250px; padding: 6px; color: white; background-color: #0000ff">blue (#0000ff)</div>
|
|
18
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #8a2be2">blueviolet (#8a2be2)</div>
|
|
19
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #a52a2a">brown (#a52a2a)</div>
|
|
20
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #deb887">burlywood (#deb887)</div>
|
|
21
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #5f9ea0">cadetblue (#5f9ea0)</div>
|
|
22
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #7fff00">chartreuse (#7fff00)</div>
|
|
23
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #d2691e">chocolate (#d2691e)</div>
|
|
24
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff7f50">coral (#ff7f50)</div>
|
|
25
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #6495ed">cornflowerblue (#6495ed)</div>
|
|
26
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fff8dc">cornsilk (#fff8dc)</div>
|
|
27
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #dc143c">crimson (#dc143c)</div>
|
|
28
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #00ffff">cyan (#00ffff)</div>
|
|
29
|
+
* <div style="width: 250px; padding: 6px; color: white; background-color: #00008b">darkblue (#00008b)</div>
|
|
30
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #008b8b">darkcyan (#008b8b)</div>
|
|
31
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #b8860b">darkgoldenrod (#b8860b)</div>
|
|
32
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #a9a9a9">darkgray (#a9a9a9)</div>
|
|
33
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #006400">darkgreen (#006400)</div>
|
|
34
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #a9a9a9">darkgrey (#a9a9a9)</div>
|
|
35
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #bdb76b">darkkhaki (#bdb76b)</div>
|
|
36
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #8b008b">darkmagenta (#8b008b)</div>
|
|
37
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #556b2f">darkolivegreen (#556b2f)</div>
|
|
38
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff8c00">darkorange (#ff8c00)</div>
|
|
39
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #9932cc">darkorchid (#9932cc)</div>
|
|
40
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #8b0000">darkred (#8b0000)</div>
|
|
41
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #e9967a">darksalmon (#e9967a)</div>
|
|
42
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #8fbc8f">darkseagreen (#8fbc8f)</div>
|
|
43
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #483d8b">darkslateblue (#483d8b)</div>
|
|
44
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #2f4f4f">darkslategrey (#2f4f4f)</div>
|
|
45
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #00ced1">darkturquoise (#00ced1)</div>
|
|
46
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #9400d3">darkviolet (#9400d3)</div>
|
|
47
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff1493">deeppink (#ff1493)</div>
|
|
48
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #00bfff">deepskyblue (#00bfff)</div>
|
|
49
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #696969">dimgray (#696969)</div>
|
|
50
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #1e90ff">dodgerblue (#1e90ff)</div>
|
|
51
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #b22222">firebrick (#b22222)</div>
|
|
52
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fffaf0">floralwhite (#fffaf0)</div>
|
|
53
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #228b22">forestgreen (#228b22)</div>
|
|
54
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff00ff">fuchsia (#ff00ff)</div>
|
|
55
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #dcdcdc">gainsboro (#dcdcdc)</div>
|
|
56
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f8f8ff">ghostwhite (#f8f8ff)</div>
|
|
57
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffd700">gold (#ffd700)</div>
|
|
58
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #daa520">goldenrod (#daa520)</div>
|
|
59
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #808080">gray (#808080)</div>
|
|
60
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #008000">green (#008000)</div>
|
|
61
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #adff2f">greenyellow (#adff2f)</div>
|
|
62
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #808080">grey (#808080)</div>
|
|
63
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f0fff0">honeydew (#f0fff0)</div>
|
|
64
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff69b4">hotpink (#ff69b4)</div>
|
|
65
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #cd5c5c">indianred (#cd5c5c)</div>
|
|
66
|
+
* <div style="width: 250px; padding: 6px; color: white; background-color: #4b0082">indigo (#4b0082)</div>
|
|
67
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fffff0">ivory (#fffff0)</div>
|
|
68
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f0e68c">khaki (#f0e68c)</div>
|
|
69
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #e6e6fa">lavender (#e6e6fa)</div>
|
|
70
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fff0f5">lavenderblush (#fff0f5)</div>
|
|
71
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #7cfc00">lawngreen (#7cfc00)</div>
|
|
72
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fffacd">lemonchiffon (#fffacd)</div>
|
|
73
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #add8e6">lightblue (#add8e6)</div>
|
|
74
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f08080">lightcoral (#f08080)</div>
|
|
75
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #e0ffff">lightcyan (#e0ffff)</div>
|
|
76
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fafad2">lightgoldenrodyellow (#fafad2)</div>
|
|
77
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #d3d3d3">lightgray (#d3d3d3)</div>
|
|
78
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #90ee90">lightgreen (#90ee90)</div>
|
|
79
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #d3d3d3">lightgrey (#d3d3d3)</div>
|
|
80
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffb6c1">lightpink (#ffb6c1)</div>
|
|
81
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffa07a">lightsalmon (#ffa07a)</div>
|
|
82
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #20b2aa">lightseagreen (#20b2aa)</div>
|
|
83
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #87cefa">lightskyblue (#87cefa)</div>
|
|
84
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #778899">lightslategrey (#778899)</div>
|
|
85
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #b0c4de">lightsteelblue (#b0c4de)</div>
|
|
86
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffffe0">lightyellow (#ffffe0)</div>
|
|
87
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #00ff00">lime (#00ff00)</div>
|
|
88
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #32cd32">limegreen (#32cd32)</div>
|
|
89
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #faf0e6">linen (#faf0e6)</div>
|
|
90
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff00ff">magenta (#ff00ff)</div>
|
|
91
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #800000">maroon (#800000)</div>
|
|
92
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #66cdaa">mediumaquamarine (#66cdaa)</div>
|
|
93
|
+
* <div style="width: 250px; padding: 6px; color: white; background-color: #0000cd">mediumblue (#0000cd)</div>
|
|
94
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ba55d3">mediumorchid (#ba55d3)</div>
|
|
95
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #9370db">mediumpurple (#9370db)</div>
|
|
96
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #3cb371">mediumseagreen (#3cb371)</div>
|
|
97
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #7b68ee">mediumslateblue (#7b68ee)</div>
|
|
98
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #00fa9a">mediumspringgreen (#00fa9a)</div>
|
|
99
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #48d1cc">mediumturquoise (#48d1cc)</div>
|
|
100
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #c71585">mediumvioletred (#c71585)</div>
|
|
101
|
+
* <div style="width: 250px; padding: 6px; color: white; background-color: #191970">midnightblue (#191970)</div>
|
|
102
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f5fffa">mintcream (#f5fffa)</div>
|
|
103
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffe4e1">mistyrose (#ffe4e1)</div>
|
|
104
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffe4b5">moccasin (#ffe4b5)</div>
|
|
105
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffdead">navajowhite (#ffdead)</div>
|
|
106
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #000080">navy (#000080)</div>
|
|
107
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fdf5e6">oldlace (#fdf5e6)</div>
|
|
108
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #808000">olive (#808000)</div>
|
|
109
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #6b8e23">olivedrab (#6b8e23)</div>
|
|
110
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffa500">orange (#ffa500)</div>
|
|
111
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff4500">orangered (#ff4500)</div>
|
|
112
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #da70d6">orchid (#da70d6)</div>
|
|
113
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #eee8aa">palegoldenrod (#eee8aa)</div>
|
|
114
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #98fb98">palegreen (#98fb98)</div>
|
|
115
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #afeeee">paleturquoise (#afeeee)</div>
|
|
116
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #db7093">palevioletred (#db7093)</div>
|
|
117
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffefd5">papayawhip (#ffefd5)</div>
|
|
118
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffdab9">peachpuff (#ffdab9)</div>
|
|
119
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #cd853f">peru (#cd853f)</div>
|
|
120
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffc0cb">pink (#ffc0cb)</div>
|
|
121
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #dda0dd">plum (#dda0dd)</div>
|
|
122
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #b0e0e6">powderblue (#b0e0e6)</div>
|
|
123
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #800080">purple (#800080)</div>
|
|
124
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #663399">rebeccapurple (#663399)</div>
|
|
125
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff0000">red (#ff0000)</div>
|
|
126
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #bc8f8f">rosybrown (#bc8f8f)</div>
|
|
127
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #4169e1">royalblue (#4169e1)</div>
|
|
128
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #8b4513">saddlebrown (#8b4513)</div>
|
|
129
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fa8072">salmon (#fa8072)</div>
|
|
130
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f4a460">sandybrown (#f4a460)</div>
|
|
131
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #2e8b57">seagreen (#2e8b57)</div>
|
|
132
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fff5ee">seashell (#fff5ee)</div>
|
|
133
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #a0522d">sienna (#a0522d)</div>
|
|
134
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #c0c0c0">silver (#c0c0c0)</div>
|
|
135
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #87ceeb">skyblue (#87ceeb)</div>
|
|
136
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #6a5acd">slateblue (#6a5acd)</div>
|
|
137
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #708090">slategray (#708090)</div>
|
|
138
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #fffafa">snow (#fffafa)</div>
|
|
139
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #00ff7f">springgreen (#00ff7f)</div>
|
|
140
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #4682b4">steelblue (#4682b4)</div>
|
|
141
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #d2b48c">tan (#d2b48c)</div>
|
|
142
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #008080">teal (#008080)</div>
|
|
143
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #d8bfd8">thistle (#d8bfd8)</div>
|
|
144
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ff6347">tomato (#ff6347)</div>
|
|
145
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #40e0d0">turquoise (#40e0d0)</div>
|
|
146
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ee82ee">violet (#ee82ee)</div>
|
|
147
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f5deb3">wheat (#f5deb3)</div>
|
|
148
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffffff">white (#ffffff)</div>
|
|
149
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #f5f5f5">whitesmoke (#f5f5f5)</div>
|
|
150
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #ffff00">yellow (#ffff00)</div>
|
|
151
|
+
* <div style="width: 250px; padding: 6px; color: black; background-color: #9acd32">yellowgreen (#9acd32)</div>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: AlignItems
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# alignItems
|
|
7
|
+
|
|
8
|
+
`alignItems`决定了子元素在次轴方向的排列方式(此样式设置在父元素上)。例如若子元素本来是沿着竖直方向排列的(即主轴竖直,次轴水平),则 `alignItems` 决定了它们在水平方向的排列方式。此样式和 CSS
|
|
9
|
+
中的 `alignItems` 表现一致,默认值为 `stretch`。
|
|
10
|
+
|
|
11
|
+
| Name | Description | Type | Default |
|
|
12
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
13
|
+
| alignItems |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/align-items) | ^[enum]`'flex-start' \| 'flex-end' \| 'center' \| 'stretch'\| 'baseline'`| `stretch` |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: AlignSelf
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# alignSelf
|
|
7
|
+
|
|
8
|
+
`alignSelf`决定了元素在父元素的次轴方向的排列方式(此样式设置在子元素上),其值会覆盖父元素的 `alignItems` 的值。其表现和 CSS 上的 `align-self` 一致,默认值为 `auto`。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| alignSelf |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/align-self) | ^[enum]`'auto' \| 'flex-start' \| 'flex-end' \| 'center' \| 'stretch' \| 'baseline'`| `auto` |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: BackgroundPositionX
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# backgroundPositionX
|
|
7
|
+
|
|
8
|
+
`backgroundPositionX` 指定背景图片的初始位置的横轴X坐标。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| backgroundPositionX |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/background-position) | ^[number]| - |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: BackgroundPositionY
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# backgroundPositionY
|
|
7
|
+
|
|
8
|
+
`backgroundPositionY` 指定背景图片的初始位置的竖轴Y坐标。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| backgroundPositionY |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/background-position) | ^[number]| - |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: BackgroundSize
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# backgroundSize
|
|
7
|
+
|
|
8
|
+
`backgroundSize` 设置背景图片大小。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| backgroundSize |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size) | ^[enum]`'cover' \| 'contain'`| - |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Collapsable
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# collapsable
|
|
7
|
+
|
|
8
|
+
Android 里如果一个 `View` 只用于布局它的子组件,则它可能会为了优化而从原生布局树中移除,因此该节点 DOM 的引用会丢失 `(比如调用 measureInAppWindow 无法获取到大小和位置信息)`。
|
|
9
|
+
把此属性设为 `false` 可以禁用这个优化,以确保对应视图在原生结构中存在。`(也可作为 View 的 Attribute 属性设置)`, 默认值为 `true`。
|
|
10
|
+
|
|
11
|
+
| Name | Description | Type | Default |
|
|
12
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
13
|
+
| collapsable |- | ^[enum]`'false' \| 'true'`| `true`|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Display
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# display
|
|
7
|
+
|
|
8
|
+
QuickTVUI 默认采用 Flex 布局。同时,因为仅支持 Flex 布局,所以不需要手写 `display: flex` 即可使用。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| display |- | ^[enum]`'flex'`| `flex`|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: FlexBasis
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# flexBasis
|
|
7
|
+
|
|
8
|
+
`flex-basis` 指定了 flex 元素在主轴方向上的初始大小。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| flexBasis |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/flex-basis) | ^[number]| - |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: FlexDirection
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# flexDirection
|
|
7
|
+
|
|
8
|
+
***QuickTVUI 默认值为 `column`***
|
|
9
|
+
|
|
10
|
+
`flexDirection` 决定了容器的子元素的排列方向:`row` 代表水平排列, `column` 代表垂直排列。其他两个参数是反向排列。 它跟 css 的 flex-direction 定义一样,但 Web CSS
|
|
11
|
+
是默认值为 `row`,而 QuickTVUI 默认值为 `column`。
|
|
12
|
+
|
|
13
|
+
| Name | Description | Type | Default |
|
|
14
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
15
|
+
| flexDirection |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/flex-direction) | ^[enum]`'row' \| 'row-reverse' \| 'column' \| 'column-reverse'`|`column` |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: FlexGrow
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# flexGrow
|
|
7
|
+
|
|
8
|
+
`flexGrow` 定义伸缩项目的扩展能力。它接受一个不带单位的值做为一个比例。主要用来决定伸缩容器剩余空间按比例应扩展多少空间。
|
|
9
|
+
|
|
10
|
+
如果所有伸缩项目的 `flex-grow` 设置了 `1`,那么每个伸缩项目将设置为一个大小相等的剩余空间。如果你给其中一个伸缩项目设置了 `flex-grow` 值为 `2`
|
|
11
|
+
,那么这个伸缩项目所占的剩余空间是其他伸缩项目所占剩余空间的两倍。 默认值为 `0`
|
|
12
|
+
|
|
13
|
+
| Name | Description | Type | Default |
|
|
14
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
15
|
+
| flexGrow |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/flex-grow) | ^[number]| - |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: FlexShrink
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# flexShrink
|
|
7
|
+
|
|
8
|
+
`flexShrink` 属性指定了 flex 元素的收缩规则。flex 元素仅在默认宽度之和大于容器的时候才会发生收缩,其收缩的大小是依据 flex-shrink 的值。Web CSS 是默认值为 `1`,QuickTVUI 中默认值为 `0`。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| flexShrink |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/flex-shrink) | ^[number]| `0` |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: FlexWrap
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# flexWrap
|
|
7
|
+
|
|
8
|
+
`flexWrap` 定义了子元素如何在接触到父容器底部时执行换行的行为。默认值为 `nowrap`。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| flexWrap |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/flex-wrap) | ^[enum]`'wrap' \| 'nowrap'`| `nowrap`|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Flex
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# flex
|
|
7
|
+
|
|
8
|
+
在 QuickTVUI 中 flex 的表现和 CSS 有些区别。 flex 在 QuickTVUI 中只能为整数值。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| flex |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/flex) | ^[number]| - |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Height
|
|
3
|
+
lang: zh-CN
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# height
|
|
7
|
+
|
|
8
|
+
`height` 定义了容器的高度,单位为 px。
|
|
9
|
+
|
|
10
|
+
| Name | Description | Type | Default |
|
|
11
|
+
|--------------------|------------------|------------------------------| ------- |
|
|
12
|
+
| height |[MDN 文档](http://developer.mozilla.org/zh-CN/docs/Web/CSS/height) | ^[number]| - |
|