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
2 years 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.

Thanks!

Answer posted by Dan Letecky [DayPilot]
2 years 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:
https://api.daypilot.org/daypilot-bubble-theme/

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