Comments (7)
@chrissainty I'd be glad to!
from menu.
We don't have support for this feature right now. But I can add it to the backlog, this library needs some time spent on it but I've just not had the chance for a while.
from menu.
Thank you @chrissainty , it will be good feature
from menu.
@chrissainty did you have an idea of how images could be integrated?
A first step could be to support a string specifying the icon class(es) to use that would add a span. But I could see this going in all directions with custom markup, svg images, and so on...
There's also the question of positioning the icon. Again, default could be on the left of the text, but customization could go far here also.
I'd be interested in working on this one (more work than small bug fixes for a change 😂), but I'd like to confirm your vision on this.
from menu.
Hey @ThaRaven403 - If I'm honest I've not had the chance to give it any thought. This library is in desperate need of some TLC and probably needs a full redesign as it's not really been touched since I built it. Do you have any thoughts on it?
from menu.
@chrissainty Maybe going full blown on the builder pattern would help. With individual builder properties for each of the menu settings, it would then be easy to then build it using a certain logic depending on what options you set. Like with any builder, someone could go and add a SVG and icon class for example, but the build method could manage that and the behavior would be self explanatory.
And with that in place, it would be easy to add new features without revamping the whole thing; only a new builder method, the implementation in the Build and the HTML.
(edited to tag you, didn't know if notifications are going through)
from menu.
@ThaRaven403 Sounds good. I'm happy for you to take the lead on this if you want to?
from menu.
Related Issues (18)
- Razor Components Project HOT 2
- Issue with submenu on the server app HOT 3
- This stuff doesn't work well. HOT 5
- Keep submenu open when navigating to new page HOT 5
- How to display menu correctly? HOT 1
- Renamed styles.css HOT 1
- BlazoredSubMenu Feature request HOT 1
- How to insert an icon in front of the submenu header? HOT 2
- [Feature Request] Display Icon for sub menu instead of + or - HOT 3
- nested submenu support? HOT 1
- [Bug]
- Add Ability to add CSS classes HOT 1
- [Bug] IconClassToClose or IconClassToOpen not specified HOT 2
- Clicking Plus causes open/close immediately HOT 1
- SubMenu should have a child component for Header HOT 1
- Server Side Blazor support HOT 2
- Mobile layout HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from menu.