docs: fix nav element docs of omim, change nodeclick to nodeClick
This commit is contained in:
parent
532a7acfc4
commit
8e8b91f6ad
File diff suppressed because one or more lines are too long
|
@ -66,7 +66,7 @@
|
|||
console.log(evt.detail)
|
||||
})
|
||||
|
||||
myNav.addEventListener('nodeclick', (evt) => {
|
||||
myNav.addEventListener('nodeClick', (evt) => {
|
||||
console.log(evt.detail)
|
||||
})
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"cn.css": "static/css/cn.d7592a4b.css",
|
||||
"cn.css.map": "static/css/cn.d7592a4b.css.map",
|
||||
"cn.js": "static/js/cn.81a02a25.js",
|
||||
"cn.js.map": "static/js/cn.81a02a25.js.map",
|
||||
"cn.js": "static/js/cn.c35c667f.js",
|
||||
"cn.js.map": "static/js/cn.c35c667f.js.map",
|
||||
"index.css": "static/css/index.d7592a4b.css",
|
||||
"index.css.map": "static/css/index.d7592a4b.css.map",
|
||||
"index.js": "static/js/index.bdb5c84c.js",
|
||||
"index.js.map": "static/js/index.bdb5c84c.js.map",
|
||||
"index.js": "static/js/index.f94009ab.js",
|
||||
"index.js.map": "static/js/index.f94009ab.js.map",
|
||||
"static/js/0.e66092d4.chunk.js": "static/js/0.e66092d4.chunk.js",
|
||||
"static/js/0.e66092d4.chunk.js.map": "static/js/0.e66092d4.chunk.js.map",
|
||||
"static/js/1.0b4d1d80.chunk.js": "static/js/1.0b4d1d80.chunk.js",
|
||||
|
@ -23,8 +23,8 @@
|
|||
"static/js/103.538a8da1.chunk.js.map": "static/js/103.538a8da1.chunk.js.map",
|
||||
"static/js/104.5ba93f9c.chunk.js": "static/js/104.5ba93f9c.chunk.js",
|
||||
"static/js/104.5ba93f9c.chunk.js.map": "static/js/104.5ba93f9c.chunk.js.map",
|
||||
"static/js/105.4b5fbdc8.chunk.js": "static/js/105.4b5fbdc8.chunk.js",
|
||||
"static/js/105.4b5fbdc8.chunk.js.map": "static/js/105.4b5fbdc8.chunk.js.map",
|
||||
"static/js/105.06482fab.chunk.js": "static/js/105.06482fab.chunk.js",
|
||||
"static/js/105.06482fab.chunk.js.map": "static/js/105.06482fab.chunk.js.map",
|
||||
"static/js/106.8bbad19d.chunk.js": "static/js/106.8bbad19d.chunk.js",
|
||||
"static/js/106.8bbad19d.chunk.js.map": "static/js/106.8bbad19d.chunk.js.map",
|
||||
"static/js/107.82caaff4.chunk.js": "static/js/107.82caaff4.chunk.js",
|
||||
|
@ -147,8 +147,8 @@
|
|||
"static/js/32.242ecb47.chunk.js.map": "static/js/32.242ecb47.chunk.js.map",
|
||||
"static/js/33.03669b0b.chunk.js": "static/js/33.03669b0b.chunk.js",
|
||||
"static/js/33.03669b0b.chunk.js.map": "static/js/33.03669b0b.chunk.js.map",
|
||||
"static/js/34.aa9a9577.chunk.js": "static/js/34.aa9a9577.chunk.js",
|
||||
"static/js/34.aa9a9577.chunk.js.map": "static/js/34.aa9a9577.chunk.js.map",
|
||||
"static/js/34.42a2a5e6.chunk.js": "static/js/34.42a2a5e6.chunk.js",
|
||||
"static/js/34.42a2a5e6.chunk.js.map": "static/js/34.42a2a5e6.chunk.js.map",
|
||||
"static/js/35.47263d85.chunk.js": "static/js/35.47263d85.chunk.js",
|
||||
"static/js/35.47263d85.chunk.js.map": "static/js/35.47263d85.chunk.js.map",
|
||||
"static/js/36.3e158830.chunk.js": "static/js/36.3e158830.chunk.js",
|
||||
|
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/cn.d7592a4b.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.81a02a25.js"></script></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/cn.d7592a4b.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.c35c667f.js"></script></body></html>
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/index.d7592a4b.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.bdb5c84c.js"></script></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/index.d7592a4b.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.f94009ab.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
webpackJsonp([105],{73:function(n,e){n.exports="## Nav\n\nMenu list of Navigation.\n\n## Usage\n\n```html\n<m-nav id='myNav' nodes=\"[{\n title: 'p-0',\n id: 1,\n icon: 'account_balance_wallet',\n children: [\n {\n title: 'p-1',\n id: 2,\n icon: 'assignment_ind',\n children: [\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\n ]\n },\n {\n title: 'p-4',\n id: 4,\n icon: 'extension',\n\n children: [\n {\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\n disabled: true\n },\n { title: '\u9879\u76ee\u516d', id: 6, icon: 'favorite' },\n { title: '\u9879\u76ee7', id: 7 }\n ]\n }\n ]\n},\n{\n title: 'p-11',\n id: 14,\n icon: 'group_work',\n\n children: [\n {\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\n }\n ]\n}]\">\n</m-nav>\n```\n\n## Javascript\n\n```js\nvar myNav = document.querySelector('#myNav')\n\nmyNav.addEventListener('toggle', (evt) => {\n console.log(evt.detail)\n})\n\nmyNav.addEventListener('nodeclick', (evt) => {\n console.log(evt.detail)\n})\n\nconsole.log(myNav.props.nodes)\n```\n\n## API\n\n### Props\n\n```jsx\n{\n\tnodes: obj\n}\n```\n\n### Event\n\n```jsx\n{\n\ttoggle: function, \n\tnodeclick: function\n}\n```\n"}});
|
||||
//# sourceMappingURL=105.4b5fbdc8.chunk.js.map
|
||||
webpackJsonp([105],{73:function(n,e){n.exports="## Nav\n\nMenu list of Navigation.\n\n## Usage\n\n```html\n<m-nav id='myNav' nodes=\"[{\n title: 'p-0',\n id: 1,\n icon: 'account_balance_wallet',\n children: [\n {\n title: 'p-1',\n id: 2,\n icon: 'assignment_ind',\n children: [\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\n ]\n },\n {\n title: 'p-4',\n id: 4,\n icon: 'extension',\n\n children: [\n {\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\n disabled: true\n },\n { title: '\u9879\u76ee\u516d', id: 6, icon: 'favorite' },\n { title: '\u9879\u76ee7', id: 7 }\n ]\n }\n ]\n},\n{\n title: 'p-11',\n id: 14,\n icon: 'group_work',\n\n children: [\n {\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\n }\n ]\n}]\">\n</m-nav>\n```\n\n## Javascript\n\n```js\nvar myNav = document.querySelector('#myNav')\n\nmyNav.addEventListener('toggle', (evt) => {\n console.log(evt.detail)\n})\n\nmyNav.addEventListener('nodeClick', (evt) => {\n console.log(evt.detail)\n})\n\nconsole.log(myNav.props.nodes)\n```\n\n## API\n\n### Props\n\n```jsx\n{\n\tnodes: obj\n}\n```\n\n### Event\n\n```jsx\n{\n\ttoggle: function, \n\tnodeclick: function\n}\n```\n"}});
|
||||
//# sourceMappingURL=105.06482fab.chunk.js.map
|
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["../static/js/105.4b5fbdc8.chunk.js","docs/en/nav.md"],"names":["webpackJsonp","73","module","exports"],"mappings":"AAAAA,cAAc,MAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/105.4b5fbdc8.chunk.js","sourcesContent":["webpackJsonp([105],{\n\n/***/ 73:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Nav\\n\\nMenu list of Navigation.\\n\\n## Usage\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeclick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/105.4b5fbdc8.chunk.js","module.exports = \"## Nav\\n\\nMenu list of Navigation.\\n\\n## Usage\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeclick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/nav.md\n// module id = 73\n// module chunks = 105"],"sourceRoot":""}
|
||||
{"version":3,"sources":["../static/js/105.06482fab.chunk.js","docs/en/nav.md"],"names":["webpackJsonp","73","module","exports"],"mappings":"AAAAA,cAAc,MAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/105.06482fab.chunk.js","sourcesContent":["webpackJsonp([105],{\n\n/***/ 73:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Nav\\n\\nMenu list of Navigation.\\n\\n## Usage\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeClick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/105.06482fab.chunk.js","module.exports = \"## Nav\\n\\nMenu list of Navigation.\\n\\n## Usage\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeClick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/nav.md\n// module id = 73\n// module chunks = 105"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
|||
webpackJsonp([34],{144:function(n,e){n.exports="## Nav\n\n\u5bfc\u822a\u7684\u83dc\u5355\u5217\u8868\u3002\n\n## \u4f7f\u7528\n\n```html\n<m-nav id='myNav' nodes=\"[{\n title: 'p-0',\n id: 1,\n icon: 'account_balance_wallet',\n children: [\n {\n title: 'p-1',\n id: 2,\n icon: 'assignment_ind',\n children: [\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\n ]\n },\n {\n title: 'p-4',\n id: 4,\n icon: 'extension',\n\n children: [\n {\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\n disabled: true\n },\n { title: '\u9879\u76ee\u516d', id: 6, icon: 'favorite' },\n { title: '\u9879\u76ee7', id: 7 }\n ]\n }\n ]\n},\n{\n title: 'p-11',\n id: 14,\n icon: 'group_work',\n\n children: [\n {\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\n }\n ]\n}]\">\n</m-nav>\n```\n\n## Javascript\n\n```js\nvar myNav = document.querySelector('#myNav')\n\nmyNav.addEventListener('toggle', (evt) => {\n console.log(evt.detail)\n})\n\nmyNav.addEventListener('nodeclick', (evt) => {\n console.log(evt.detail)\n})\n\nconsole.log(myNav.props.nodes)\n```\n\n## API\n\n### Props\n\n```jsx\n{\n\tnodes: obj\n}\n```\n\n### Event\n\n```jsx\n{\n\ttoggle: function, \n\tnodeclick: function\n}\n```\n"}});
|
||||
//# sourceMappingURL=34.aa9a9577.chunk.js.map
|
||||
webpackJsonp([34],{144:function(n,e){n.exports="## Nav\n\n\u5bfc\u822a\u7684\u83dc\u5355\u5217\u8868\u3002\n\n## \u4f7f\u7528\n\n```html\n<m-nav id='myNav' nodes=\"[{\n title: 'p-0',\n id: 1,\n icon: 'account_balance_wallet',\n children: [\n {\n title: 'p-1',\n id: 2,\n icon: 'assignment_ind',\n children: [\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\n ]\n },\n {\n title: 'p-4',\n id: 4,\n icon: 'extension',\n\n children: [\n {\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\n disabled: true\n },\n { title: '\u9879\u76ee\u516d', id: 6, icon: 'favorite' },\n { title: '\u9879\u76ee7', id: 7 }\n ]\n }\n ]\n},\n{\n title: 'p-11',\n id: 14,\n icon: 'group_work',\n\n children: [\n {\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\n }\n ]\n}]\">\n</m-nav>\n```\n\n## Javascript\n\n```js\nvar myNav = document.querySelector('#myNav')\n\nmyNav.addEventListener('toggle', (evt) => {\n console.log(evt.detail)\n})\n\nmyNav.addEventListener('nodeClick', (evt) => {\n console.log(evt.detail)\n})\n\nconsole.log(myNav.props.nodes)\n```\n\n## API\n\n### Props\n\n```jsx\n{\n\tnodes: obj\n}\n```\n\n### Event\n\n```jsx\n{\n\ttoggle: function, \n\tnodeclick: function\n}\n```\n"}});
|
||||
//# sourceMappingURL=34.42a2a5e6.chunk.js.map
|
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["../static/js/34.aa9a9577.chunk.js","docs/zh-cn/nav.md"],"names":["webpackJsonp","144","module","exports"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/34.aa9a9577.chunk.js","sourcesContent":["webpackJsonp([34],{\n\n/***/ 144:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Nav\\n\\n导航的菜单列表。\\n\\n## 使用\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeclick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/34.aa9a9577.chunk.js","module.exports = \"## Nav\\n\\n导航的菜单列表。\\n\\n## 使用\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeclick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/nav.md\n// module id = 144\n// module chunks = 34"],"sourceRoot":""}
|
||||
{"version":3,"sources":["../static/js/34.42a2a5e6.chunk.js","docs/zh-cn/nav.md"],"names":["webpackJsonp","144","module","exports"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/34.42a2a5e6.chunk.js","sourcesContent":["webpackJsonp([34],{\n\n/***/ 144:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Nav\\n\\n导航的菜单列表。\\n\\n## 使用\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeClick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/34.42a2a5e6.chunk.js","module.exports = \"## Nav\\n\\n导航的菜单列表。\\n\\n## 使用\\n\\n```html\\n<m-nav id='myNav' nodes=\\\"[{\\n title: 'p-0',\\n id: 1,\\n icon: 'account_balance_wallet',\\n children: [\\n {\\n title: 'p-1',\\n id: 2,\\n icon: 'assignment_ind',\\n children: [\\n { title: 'p-2', id: 3, icon: 'chrome_reader_mode', checked: true },\\n { title: 'p-2.5', id: 13, icon: 'chrome_reader_mode' }\\n ]\\n },\\n {\\n title: 'p-4',\\n id: 4,\\n icon: 'extension',\\n\\n children: [\\n {\\n title: 'p-5', id: 5, selected: true, icon: 'dashboard', checked: true,\\n disabled: true\\n },\\n { title: '项目六', id: 6, icon: 'favorite' },\\n { title: '项目7', id: 7 }\\n ]\\n }\\n ]\\n},\\n{\\n title: 'p-11',\\n id: 14,\\n icon: 'group_work',\\n\\n children: [\\n {\\n title: 'p-12', id: 12, icon: 'fingerprint', checked: true\\n }\\n ]\\n}]\\\">\\n</m-nav>\\n```\\n\\n## Javascript\\n\\n```js\\nvar myNav = document.querySelector('#myNav')\\n\\nmyNav.addEventListener('toggle', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nmyNav.addEventListener('nodeClick', (evt) => {\\n console.log(evt.detail)\\n})\\n\\nconsole.log(myNav.props.nodes)\\n```\\n\\n## API\\n\\n### Props\\n\\n```jsx\\n{\\n\\tnodes: obj\\n}\\n```\\n\\n### Event\\n\\n```jsx\\n{\\n\\ttoggle: function, \\n\\tnodeclick: function\\n}\\n```\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/nav.md\n// module id = 144\n// module chunks = 34"],"sourceRoot":""}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -58,7 +58,7 @@ myNav.addEventListener('toggle', (evt) => {
|
|||
console.log(evt.detail)
|
||||
})
|
||||
|
||||
myNav.addEventListener('nodeclick', (evt) => {
|
||||
myNav.addEventListener('nodeClick', (evt) => {
|
||||
console.log(evt.detail)
|
||||
})
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ myNav.addEventListener('toggle', (evt) => {
|
|||
console.log(evt.detail)
|
||||
})
|
||||
|
||||
myNav.addEventListener('nodeclick', (evt) => {
|
||||
myNav.addEventListener('nodeClick', (evt) => {
|
||||
console.log(evt.detail)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue