Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@event-calendar/resource-time-grid

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@event-calendar/resource-time-grid - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

package.json
{
"name": "@event-calendar/resource-time-grid",
"version": "0.3.1",
"version": "0.3.2",
"title": "Event Calendar ResourceTimeGrid plugin",

@@ -20,5 +20,5 @@ "description": "Full-sized drag & drop event calendar with resource view",

"dependencies": {
"@event-calendar/time-grid": "~0.3.1",
"@event-calendar/time-grid": "~0.3.2",
"svelte": "^3.42.3"
}
}

@@ -7,3 +7,3 @@ # Event Calendar [![](https://data.jsdelivr.com/v1/package/npm/@event-calendar/build/badge)](https://www.jsdelivr.com/package/npm/@event-calendar/build)

* Lightweight (40.7kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version)
* Lightweight (40.6kb [br](https://en.wikipedia.org/wiki/Brotli) compressed `modern` version)
* Zero-dependency (pre-built bundle)

@@ -18,2 +18,3 @@ * Used by [Bookly](https://wordpress.org/plugins/bookly-responsive-appointment-booking-tool/)

- [Pre-built browser ready bundle](#pre-built-browser-ready-bundle)
- [Modifying options after initialization](#modifying-options-after-initialization)
- [Options](#options)

@@ -127,12 +128,12 @@ <table>

<script>
import Calendar from '@event-calendar/core';
import TimeGrid from '@event-calendar/time-grid';
import Calendar from '@event-calendar/core';
import TimeGrid from '@event-calendar/time-grid';
let plugins = [TimeGrid];
let options = {
view: 'timeGridWeek',
events: [
// your list of events
]
};
let plugins = [TimeGrid];
let options = {
view: 'timeGridWeek',
events: [
// your list of events
]
};
</script>

@@ -148,12 +149,12 @@

let ec = new Calendar({
target: document.getElementById('ec'),
props: {
plugins: [TimeGrid],
options: {
view: 'timeGridWeek',
events: [
// your list of events
]
}
target: document.getElementById('ec'),
props: {
plugins: [TimeGrid],
options: {
view: 'timeGridWeek',
events: [
// your list of events
]
}
}
});

@@ -173,6 +174,6 @@ ```

let ec = new EventCalendar(document.getElementById('ec'), {
view: 'timeGridWeek',
events: [
// your list of events
]
view: 'timeGridWeek',
events: [
// your list of events
]
});

@@ -189,13 +190,13 @@ ```

<script>
import Calendar from '@event-calendar/core';
import TimeGrid from '@event-calendar/time-grid';
import Calendar from '@event-calendar/core';
import TimeGrid from '@event-calendar/time-grid';
let plugins = [TimeGrid];
let options = {
view: 'timeGridWeek'
};
let plugins = [TimeGrid];
let options = {
view: 'timeGridWeek'
};
function updateOptions() {
options.slotDuration = '01:00';
}
function updateOptions() {
options.slotDuration = '01:00';
}
</script>

@@ -289,3 +290,3 @@

function (date) {
// return formatted date string
// return formatted date string
}

@@ -422,3 +423,3 @@ ```

function (eventInfo) {
// return string or object
// return string or object
}

@@ -879,3 +880,3 @@ ```

function (time) {
// return formatted time string
// return formatted time string
}

@@ -1277,18 +1278,18 @@ ```

<script>
import Calendar from '@event-calendar/core';
import TimeGrid from '@event-calendar/time-grid';
import Calendar from '@event-calendar/core';
import TimeGrid from '@event-calendar/time-grid';
let ec;
let plugins = [TimeGrid];
let options = {
view: 'timeGridWeek',
eventSources: [{events: function() {
console.log('fetching...');
return [];
}}]
};
let ec;
let plugins = [TimeGrid];
let options = {
view: 'timeGridWeek',
eventSources: [{events: function() {
console.log('fetching...');
return [];
}}]
};
function invokeMethod() {
ec.refetchEvents();
}
function invokeMethod() {
ec.refetchEvents();
}
</script>

@@ -1295,0 +1296,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc