saade / filament-fullcalendar

The Most Popular JavaScript Calendar as a Filament Widget
MIT License
282 stars 85 forks source link

Feature: HTML support #165

Closed YWatchman closed 7 months ago

KhairulAzmi21 commented 7 months ago

How to use method html() ?

saade commented 7 months ago

This will be addressed after #164 as we can use the same implementation

saade commented 7 months ago

164 got merged, you can now:

public function eventContent(): string
    {
        return <<<JS
            function({ event, timeText, isStart, isEnd, isMirror, isPast, isFuture, isToday, el, view }){
                // Write your custom implementation here
            }
        JS;
    }