search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to set a custom class on Bubble in Angular project?

Asked by MB
12 months ago.

How can we set a custom class on the bubble in a scheduler for Angular?
We want to override the default styling of bubble_default_main_inner without using !important.


Answer posted by Dan Letecky [DayPilot]
12 months ago.

You can set a custom CSS class using the config:

const bubble = new DayPilot.Bubble({
  theme: "mybubble",
  // ...

All CSS classes used in the bubble will be prefixed with "mybubble_" instead of "bubble_default_".

See also:

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.