-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Material design #49
Comments
I was about to suggest this and it shouldn't be very difficult to implement. In component, we can add
Some options in settings could be provided for material to activate this part of the template instead of normal checkboxes. |
@softsimon Any update on this? |
@naveenballa No updates yet. Haven't tried material design. |
Unable to implement in my project :( https://stackoverflow.com/questions/42692044/how-to-use-angular-2-dropdown-multiselect |
/index.js doesn't exist.
Or use angular-cli (webpack) ;-) |
this is working now. bootstrap4 is required , right ? |
Nope. Bootstrap 3 or 4. |
How can I set the width? I have tried style property with width :100%. but this is not working :( |
@ermarkar you need to set the style on the button, not the parent control, try adding a custom class to to see this in action try my demo page, and add btn-block to the buttonClasses list. |
@naveedahmed1 One of the nice things about this component is that it has a "soft" dependency on bootstrap (you can technically run it without bootstrap css and just supply your own css if you need to). You can already achieve a material-like design by omitting the bootstrap css and using custom css and javascript: I think to allow use of other components for the container, trigger button, checkboxes and list-items would require extending the component to allow custom rendering functions for these components and probably some memoization to prevent expensive re-rendering. Edit: You can now see this working on my demo-site: https://chris--jones.github.io/angular-2-dropdown-multiselect/ |
Unofficially you can customise a lot with the CSS (see above), but as this is primarily a bootstrap component, I'm closing this as unsupported (wontfix). @softsimon I'd be interested in working with you on a more generic dropdown select (I think I recall you suggesting something like ngx-dropdown-multiselect) with more styling flexibility. |
hi @softsimon
Is there any material design support for this component.
The text was updated successfully, but these errors were encountered: