How to use nativescript-ui-calendar - 1 common examples

To help you get started, we’ve selected a few nativescript-ui-calendar 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 rdlauer / plum / app / calendar / calendar-view-model.ts View on Github external
i * 2, // day
        i * 0.5, // hour
        i, // minute
        0, // second
        0 // ms
      );
      const endDate: Date = new Date(
        now.getFullYear(), // year
        now.getMonth(), // month
        i * 2 + (i % 3), // day
        i * 0.5, // hour
        i, // minute
        0, // second
        0 // ms
      );
      const event = new calendarModule.CalendarEvent(
        _eventTitles[i],
        startDate,
        endDate
      );
      _events.push(event);
    }
    this.set('events', _events);
  }
}

nativescript-ui-calendar

Month, year, week and day views. Single, multiple and range date Selection. Special and disabled dates.

Apache-2.0
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis

Popular nativescript-ui-calendar functions