Add custom css class to via options
See original GitHub issueI cannot add my custom css class to the notification component. What i tried to do is: put the style class it via options:
public options = { position: [“bottom”, “right”], timeOut: 3000, theClass: “myClass” }
And myClass is in written in my component.scss. What i’m doing wrong`?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:14 (5 by maintainers)
Top Results From Across the Web
How to Add Custom CSS Classes to WPForms
To add a custom CSS class name for either option, open the form builder and go to Settings » General. From here, go...
Read more >How To Create Classes With CSS | DigitalOcean
In this tutorial, you will create a CSS class selector, which will allow you to apply CSS rules only to HTML elements that...
Read more >How to add a css class to select option? - Stack Overflow
$('select>option:eq(1)').addClass("custom_class");. Here eq() method : Reduce the set of matched elements to the one at the specified ...
Read more >How to apply "Use Custom CSS Class" in analysis
Then, type "MyCell" in the "Use Custom CSS Class" textbook. ... Did you tried via Analysis(Criteria) Column properties option
Read more >2 Ways to Add WordPress Custom CSS + Common Errors
You can add multiple CSS classes to one block by separating them with spaces. Adding WordPress Custom CSS via Plugins.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Passing an object like this might do the trick:
What do you think?
Alright. just an idea, is there a way you could add direct styles as a parameter to the notification object? For example, the user could pass in an object of custom styles, similar to the way angular animations passes a styles object?