Skip to content

Commit

Permalink
#5639 for Menubar
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Dec 24, 2023
1 parent 202ce1f commit 930014e
Show file tree
Hide file tree
Showing 6 changed files with 730 additions and 183 deletions.
45 changes: 44 additions & 1 deletion components/doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -32857,6 +32857,22 @@
"default": "",
"description": "An array of menuitems."
},
{
"name": "ariaLabel",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Used to define a string that labels the component."
},
{
"name": "ariaLabelledBy",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
"name": "pt",
"optional": true,
Expand Down Expand Up @@ -32901,7 +32917,34 @@
},
"callbacks": {
"description": "Defines callbacks that determine the behavior of the component based on a given condition or report the actions that the component takes.",
"values": []
"values": [
{
"name": "onFocus",
"parameters": [
{
"name": "event",
"optional": false,
"type": "SyntheticEvent<Element, Event>",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when menu receives focus."
},
{
"name": "onBlur",
"parameters": [
{
"name": "event",
"optional": false,
"type": "SyntheticEvent<Element, Event>",
"description": "Browser event."
}
],
"returnType": "void",
"description": "Callback to invoke when menu loses focus."
}
]
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions components/doc/megamenu/basicdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export function BasicDoc(props) {
items: [
[
{
label: 'Tadic',
items: [{ label: 'Dzeko' }, { label: 'Symanzki' }]
label: 'Video 1',
items: [{ label: 'Video 1.1' }, { label: 'Video 1.2' }]
},
{
label: 'Video 2',
Expand Down
Loading

0 comments on commit 930014e

Please sign in to comment.