diff --git a/README.md b/README.md index 98f2b7c..1351109 100644 --- a/README.md +++ b/README.md @@ -86,11 +86,11 @@ meanExpandableChildren: true meanExpand: "+" -- single character you want to represent the expand for ULs +- single character you want to represent the expand for ULs. Can also be html icon, eg: '' meanContract: "-" -- single character you want to represent the contract for ULs +- single character you want to represent the contract for ULs. Can also be html icon, eg: '' meanRemoveAttrs: false - true to remove classes and IDs, false to keep them @@ -106,3 +106,9 @@ removeElements: "" meanDisplay: "block" - by default this is block, sometimes you may want to switch this to table or table-cell or inline-block etc. so now you can. + +parentClickExpands: true + +- by default this is true, it allows sub-menu expansion by clicking the whole parent link instead of right-autogenerated button only. + +![](parent_expands.gif) \ No newline at end of file diff --git a/demo.html b/demo.html index 369ddd0..b0e3c4e 100644 --- a/demo.html +++ b/demo.html @@ -1,10 +1,10 @@ -
- - -