-
What I want to achieve:- MyApproach:-
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@kasif Section has a properties Expanded and IsVisiable, cant you use these? |
Beta Was this translation helpful? Give feedback.
-
@kasif the existing Section component does not have an OnClick parameter defined which would allow you to execute code in your own component. A parameter would need to be added to the Section component:
and then you could reference it in your declaration
however I am not sure if/how this would work as the Section component links contain
You may want to create your own Section component for your own use case |
Beta Was this translation helpful? Give feedback.
@kasif the existing Section component does not have an OnClick parameter defined which would allow you to execute code in your own component. A parameter would need to be added to the Section component:
and then you could reference it in your declaration
however I am not sure if/how this would work as the Section component links contain
@onclick:preventDefault="true"
which was necessary to get the tabs to work in Blazor