Skip to content
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

Style Elements differently #39

Open
PowerP opened this issue Nov 15, 2018 · 3 comments
Open

Style Elements differently #39

PowerP opened this issue Nov 15, 2018 · 3 comments

Comments

@PowerP
Copy link

PowerP commented Nov 15, 2018

Hi,

I'm wondering how I can style elements different.
E.g. I want to give my "delete" option "color: red".
I also would like to add "hr" separators.

It would help when a contextItem would support a "class" attribute.

Cheers,
Pirmin

@cbroeren
Copy link
Owner

Hi @PowerP,

Good point, I will take a look at implementing custom classes soon.

Could you be more specific about your wish for the hr separator?
Do you mean using a hr separator between every item, or have grouped items (#9)?

Thanks,
Chantal

@PowerP
Copy link
Author

PowerP commented Nov 17, 2018

Hey @cbroeren,

grouping :)

Cheers

@RobbieTheWagner
Copy link
Collaborator

You can support infinite customization by providing your own context-menu and/or context-menu-item templates. I'm using that approach to do custom icons that are not font-awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants