mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-15 10:43:12 +00:00
1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
|
|
webpackJsonp([17,34],{477:function(e,m,t){t(605);var n=t(0)(null,t(572),"data-v-7268ce5e",null);e.exports=n.exports},537:function(e,m,t){m=e.exports=t(4)(),m.push([e.i,".md-menu[data-v-7268ce5e]{margin-right:36px}.author-card[data-v-7268ce5e]{padding:8px 16px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.author-card .md-avatar[data-v-7268ce5e]{margin-right:16px}.author-card .author-card-info[data-v-7268ce5e]{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex:1;flex:1}.author-card span[data-v-7268ce5e]{font-size:16px}.author-card .author-card-links[data-v-7268ce5e]{display:-ms-flexbox;display:flex}.author-card .author-card-links a+a[data-v-7268ce5e]{margin-left:8px}",""])},572:function(e,m){e.exports={render:function(){var e=this,m=e.$createElement,t=e._self._c||m;return t("page-content",{attrs:{"page-title":"Components - Menu"}},[t("docs-component",[t("div",{slot:"description"},[t("p",[e._v("Menus appear upon interaction with a button, action, or other control. They display a list of choices, with one choice per line.")]),e._v(" "),t("p",[e._v("You can create menus with selection items or show rich content.")]),e._v(" "),t("p",[e._v("You will need an element with the "),t("code",[e._v("md-menu-trigger")]),e._v(" attribute inside the menu or to use the menu core methods, like on the last example.")])]),e._v(" "),t("div",{slot:"api"},[t("api-table",{attrs:{name:"md-menu"}},[t("md-table",{slot:"properties"},[t("md-table-header",[t("md-table-row",[t("md-table-head",[e._v("Name")]),e._v(" "),t("md-table-head",[e._v("Type")]),e._v(" "),t("md-table-head",[e._v("Description")])],1)],1),e._v(" "),t("md-table-body",[t("md-table-row",[t("md-table-cell",[e._v("md-size")]),e._v(" "),t("md-table-cell",[t("code",[e._v("Number")])]),e._v(" "),t("md-table-cell",[e._v("Sets the size of the menu content. From 0 to 7. "),t("br"),e._v("Default: "),t("code",[e._v("0")])])],1),e._v(" "),t("md-table-row",[t("md-table-cell",[e._v("md-direction")]),e._v(" "),t("md-table-cell",[t("code",[e._v("String")])]),e._v(" "),t("md-table-cell",[e._v("Sets the direction of the menu content. "),t("br"),e._v(" Possibilities: "),t("code",[e._v("bottom right")]),e._v(" | "),t("code",[e._v("bottom left")]),e._v(" | "),t("code",[e._v("top right")]),e._v(" | "),t("code",[e._v("top right")]),t("br"),e._v("Default: "),t("code",[e._v("bottom right")])])],1),e._v(" "),t("md-table-row",[t("md-table-cell",[e._v("md-align-trigger")]),e._v(" "),t("md-table-cell",[t("code",[e._v("Boolean")])]),e._v(" "),t("md-table-cell",[e._v("Align the menu content to do not cover menu trigger. "),t("br"),e._v("Default: "),t("code",[e._v("false")])])],1),e._v(" "),t("md-table-row",[t("md-table-cell",[e._v("md-offset-x")]),e._v(" "),t("md-table-cell",[t("code",[e._v("Number")])]),e._v(" "),t("md-table-cell",[e._v("Set the menu content offset margin horizontally. "),t("br"),e._v("Default: "),t("code",[e._v("0")])])],1),e._v(" "),t("md-table-row",[t("md-table-cell",[e._v("md-offset-y")]),e._v(" "),t("md-table-cell",[t("code",[e._v("Number")])]),e._v(" "),t("md-table-cell",[e._v("Set the menu content offset margin vertically. "),t("br"),e._v("Default: "),t("code",[e._v("0")])])],1),e._v(" "),t("md-table-row",[t("md-table-cell",[e._v("md-close-on-select")]),e._v(" "),t("md-table-cell",[t("code",[e._v("Boolean")])]),e._v(" "),t("md-table-cell",[e._v("Close menu content upon mouse click on its menu items. "),t("br"),e._v("Default: "),t("code",[e._v("true")])])],1)],1)],1),e._v(" "),t("md-table",{slot:"events"},[t("md-table-header",[t("md-table-row",[t("md-table-head",[e._v("Name")]),e._v(" "),t("md-table-head",[e._v("Value")]),e._v(" "),t("md-table-head",[e._v("Description")])],1)],1),e._v(" "),t("md-table-body",[t("md-table-row",[t("md-table-cell",[e._v("open")]),e._v(" "),t("md-table-cell",[e._v("None")]),e._v(" "),t("md-table-cell",[e._v("Triggered when the menu starts to open.")])],1),e._v(" "),t("md-table-row",[t("md-table-cell",[e._v("close")]),e._v(" "),t("md-table-cell",[e._v("None")]),e._v(" "),t("md-table-cell",[e._v("Triggered
|