text: (window.webpackJsonp=window.webpackJsonp||[]).push([[468],{1778:function(t,A,a){"use strict";a.r(A);var e=a(1),o=Object(e.a)({},(function(){var t=this,A=t.$createElement,e=t._self._c||A;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"toolbar"}},[t._v("toolbar"),e("a",{attrs:{name:"ZH-CN_TOPIC_0000001173324631"}})]),t._v(" "),e("p",[t._v("工具栏。放在界面底部，用于展示针对当前界面的操作选项。")]),t._v(" "),e("blockquote",[e("p",[e("img",{attrs:{src:a(186),alt:""}}),t._v(" "),e("strong",[t._v("说明：")]),t._v("\n从API Version 5 开始支持。")])]),t._v(" "),e("h2",{attrs:{id:"权限列表"}},[t._v("权限列表"),e("a",{attrs:{name:"section11257113618419"}})]),t._v(" "),e("p",[t._v("无")]),t._v(" "),e("h2",{attrs:{id:"子组件"}},[t._v("子组件"),e("a",{attrs:{name:"section172027510456"}})]),t._v(" "),e("p",[t._v("支持<toolbar-item>子组件。")]),t._v(" "),e("blockquote",[e("p",[e("img",{attrs:{src:a(186),alt:""}}),t._v(" "),e("strong",[t._v("说明：")]),t._v("\n工具栏最多可以展示5个toolbar-item子组件，如果存在6个及以上toolbar-item子组件，则保留前面4个子组件，后续的子组件收纳到工具栏上的更多项中，通过点击更多项弹窗展示剩下的子组件，更多项展示的组件样式采用系统默认样式，toolbar-item上设置的自定义样式不生效。")])]),t._v(" "),e("h2",{attrs:{id:"属性"}},[t._v("属性"),e("a",{attrs:{name:"section153601034618"}})]),t._v(" "),e("p",[t._v("支持"),e("RouterLink",{attrs:{to:"/openharmony/zh-cn/application-dev/reference/arkui-js/js-components-common-attributes.html"}},[t._v("通用属性")]),t._v("。")],1),t._v(" "),e("h2",{attrs:{id:"样式"}},[t._v("样式"),e("a",{attrs:{name:"section1889052254711"}})]),t._v(" "),e("p",[t._v("支持"),e("RouterLink",{attrs:{to:"/openharmony/zh-cn/application-dev/reference/arkui-js/js-components-common-styles.html"}},[t._v("通用样式")]),t._v("。")],1),t._v(" "),e("blockquote",[e("p",[e("img",{attrs:{src:a(186),alt:""}}),t._v(" "),e("strong",[t._v("说明：")])]),t._v(" "),e("ul",[e("li",[t._v("不支持height样式，高度固定为56px。")])])]),t._v(" "),e("h2",{attrs:{id:"事件"}},[t._v("事件"),e("a",{attrs:{name:"section104349151916"}})]),t._v(" "),e("p",[t._v("不支持。")]),t._v(" "),e("h2",{attrs:{id:"方法"}},[t._v("方法"),e("a",{attrs:{name:"section568225514199"}})]),t._v(" "),e("p",[t._v("不支持。")]),t._v(" "),e("h2",{attrs:{id:"示例"}},[t._v("示例"),e("a",{attrs:{name:"section1597982719103"}})]),t._v(" "),e("p",[t._v("详见"),e("RouterLink",{attrs:{to:"/openharmony/zh-cn/application-dev/reference/arkui-js/js-components-basic-toolbar-item.html"}},[t._v("toolbar-item示例")]),t._v("。")],1)])}),[],!1,null,null,null);A.default=o.exports},186:function(t,A){t.exports="data:image/gif;base64,R0lGODlhGwAWAKUAAPz+/Nze3LS2tHx+fFxaXGRiZERCRBwaHDw6PMTGxAQGBDQ2NKSmpJyenLy+vOTm5HRydDQyNAQCBCwuLCQiJKyurExKTBQSFGRmZFRSVBweHIyKjFxeXNTS1ERGRIyOjOzu7PT29Hx6fCQmJBQWFJSWlAwKDISGhMzOzNTW1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAbABYAAAanQIBwSCwaj8ikcslsOpEQiVRiOgFQlKkEkUqCJgViSDQyBIgJUglJ4QyMh45R4/kcJYN3kXLeb8JGeHpEfEYUf3d5hn2EiIGKe4xDh4BFgouGjpaQhJJClImDk54AoI+in6SmmxgDBQYZAwIaG3l5DAGrRBITFAMNDhUDFhcEtgMEFAoYlUQKCwMMDbYODwnTxxARzUMBAsgFtgYHCOHHrwlP6uvs7UEAOw=="}}]);