How to use the @fullcalendar/daygrid.DayGridView.prototype function in @fullcalendar/daygrid

To help you get started, we’ve selected a few @fullcalendar/daygrid examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fullcalendar / fullcalendar / packages / __tests__ / src / legacy / views-specific-options.js View on Github external
it('can implicitly target an old-school View subclass', function() {

    function SuperDayGridView() { DayGridView.apply(this, arguments) }
    SuperDayGridView.prototype = Object.create(DayGridView.prototype)

    initCalendar({
      plugins: [
        DayGridPlugin,
        createPlugin({
          views: {
            superBasic: SuperDayGridView
          }
        })
      ],
      views: {
        dayGrid: {
          titleFormat: function() { return 'special!!!' }
        }
      }
    })

@fullcalendar/daygrid

Display events on a month view or "day grid" view

MIT
Latest version published 2 months ago

Package Health Score

86 / 100
Full package analysis