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.14.0 to 0.14.1

4

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

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

"dependencies": {
"@event-calendar/time-grid": "~0.14.0",
"@event-calendar/time-grid": "~0.14.1",
"svelte": "^3.51.0"
}
}

@@ -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) [![npm](https://img.shields.io/npm/dm/@event-calendar/core?color=red&label=npm&style=flat-square)](https://www.npmjs.com/package/@event-calendar/core) [![Sponsor](https://img.shields.io/badge/Sponsor-$10-blue.svg?style=flat-square&logo=paypal)](https://www.paypal.me/vkurko/10usd)

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

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

- [eventDrop](#eventdrop)
- [eventDurationEditable](#eventdurationeditable)
</td><td>
- [eventDurationEditable](#eventdurationeditable)
- [eventLongPressDelay](#eventlongpressdelay)

@@ -74,6 +74,6 @@ - [eventMouseEnter](#eventmouseenter)

- [monthMode](#monthmode)
</td><td>
- [moreLinkContent](#morelinkcontent)
- [noEventsClick](#noeventsclick)
</td><td>
- [noEventsContent](#noeventscontent)

@@ -83,2 +83,4 @@ - [nowIndicator](#nowindicator)

- [resources](#resources)
- [resourceLabelContent](#resourcelabelcontent)
- [resourceLabelDidMount](#resourcelabeldidmount)
- [select](#select)

@@ -1510,2 +1512,73 @@ - [selectable](#selectable)

### resourceLabelContent
- Type `string`, `object`or `function`
- Default `undefined`
Defines the content that is rendered inside an element with a resource title.
This value can be either a string containing text `'...'`, an object containing the HTML string `{html: '<p>...</p>'}`, an object containing an array of DOM nodes `{domNodes: [node1, node2, ...]}` or a function that returns any of the above formats:
```js
function (info) {
// return string or object
}
```
`info` is an object with the following properties:
<table>
<tr>
<td>
`resource`
</td>
<td>
The associated [Resource](#resource-object) object
</td>
</tr>
<tr>
<td>
`date`
</td>
<td>If it is a column that is within a specific date, this will be a Date object</td>
</tr>
</table>
### resourceLabelDidMount
- Type `function`
- Default `undefined`
Callback function that is triggered right after the element has been added to the DOM. If the resource data changes, this is not called again.
```js
function (info) { }
```
`info` is an object with the following properties:
<table>
<tr>
<td>
`el`
</td>
<td>The HTML element for the label</td>
</tr>
<tr>
<td>
`resource`
</td>
<td>
The associated [Resource](#resource-object) object
</td>
</tr>
<tr>
<td>
`date`
</td>
<td>If it is a column that is within a specific date, this will be a Date object</td>
</tr>
</table>
### select

@@ -1512,0 +1585,0 @@ - Type `function`

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