Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding data-attributes to events/ schedules #24

Open
vincentrohde opened this issue May 2, 2020 · 1 comment
Open

Adding data-attributes to events/ schedules #24

vincentrohde opened this issue May 2, 2020 · 1 comment

Comments

@vincentrohde
Copy link

Hey,

I have a project where I want to add additional information (e. x. ids), that can be read by JS, to my events (cells) and schedules (rows). Browsing through the documentation, I noticed the data property right here:

start:'09:00',
end:'12:00',
text:'Text Area',
data:{}

Initially I thought if I put key-value pairs into data, it would add them as data-attributes to my events, but it doesn't. Is there a way to do this with jquery.schedule?

@sebasira
Copy link

Take a look at this fork is based on another user's extension, that started from the @ateliee's great job!

I've created a way to define custom content to the DOM of the events (see commits of this issue) and I'm using that to display custom content/data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants