Replies: 3 comments 1 reply
-
Any syntax for submenu items? |
Beta Was this translation helpful? Give feedback.
1 reply
-
So after a lot of thinkings, we will create a new concept: For example we could have a |
Beta Was this translation helpful? Give feedback.
0 replies
-
We could explain |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Each tentacle should be able to define it's own menu using a MenuBuilder system.
Syntax
We could create a behaviour that will create mandatory callback that could returns a list of items to add in the menu.
e.g.
However this syntax doesn't allow to add class based on a theme, so we will need to wrap each item.
We could also imagine something like
Then in the
shell
(the "head" module that manage every tentacle) we could define a template that will act as a theme. e.g.Sub menu
Each menu could "contain" other menu. e.g.
However, we don't want A to be dependent of B because it make more sense B depends to A.
Beta Was this translation helpful? Give feedback.
All reactions