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
1 month 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]
1 month 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/

New Reply
This reply is
Your name (optional):