Comments (5)
the date info should be into event.startDate and event.endDate
if you want the full date time this will be event.start and event.end (if time is false or your event is an all day one (ie event.allDay=true) then event.start/end are the same than event.startDate/endDate)
and time info is into event.startTime and event.endTime
so to display the start and end dates into your slot you would have something like this
<div class="vuecal__event-time">
<strong>Event start:</strong> <span>{{ event.startDate }}</span><br/>
<strong>Event end:</strong> <span>{{ event.endDate }}</span>
</div>
from vue-cal.
note that if you have set time to false, you'll have to use an other class because vuecal__event-time won't be available. See https://antoniandre.github.io/vue-cal/#ex--custom-event-rendering
from vue-cal.
Hi @lllito,
@DuredhelFinceleb, gave a good example that you can follow. 👌
To help you out here is a Codepen with what you want: https://codepen.io/antoniandre/pen/jJbygw?editors=1010
To set custom event rendering please refer to this example: https://antoniandre.github.io/vue-cal/#ex--custom-event-rendering.
Now in this example, events are not displayed on month view, so you will need to add the attribute :events-on-month-view="true"
. Refer to this example: https://antoniandre.github.io/vue-cal/#ex--events-on-month-view
Let me know if you still need assistance.
from vue-cal.
thanks so much
from vue-cal.
👌 Closing the issue then.
from vue-cal.
Related Issues (20)
- How to push the dragged event inside of the background event (background: true) HOT 1
- Undefined dates HOT 3
- Last hour vertical split HOT 3
- List View
- Large sponsorship for specific additions to vue-cal HOT 1
- Changing the date of Vue-Cal to Jalali(Persian) when the language is fa-IR
- returning false on event-drag-create but the event creation is not rejected
- special-hours per split-days
- Event resize
- How to listen to the mouse hover event when hovering over cells
- How to change the position for the time and date? HOT 1
- min-split-width and sticky-split-labels conflict
- Build with multiple files
- Events disappear on month-crossing drag & drop
- Nuxt 3 HOT 1
- Weekview hide day number. HOT 1
- Feature Request: option: hideDayOfMonth
- Feature Request: update displayed time when dragging an event
- Setting scroll top, only finds querySelector with multiple events.
- Invalid Date on increasing size of multi day event HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-cal.