question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to know which day does my custom "event template" exist?

See original GitHub issue

Describe the bug I need to know which day of the week does my “event template” exist in order to do certain calculations. Right now the “event” object doesn’t consist which day it belongs to, like in the “day” object past down by “cell template”. Does anyone has a solution for this problem?

<ng-template #eventTemplate let-weekEvent="weekEvent" let-locale="locale"> {{weekEvent.event.title}} </ng-template>

weekEvent object doesn’t have a date object I could utilize for my project.

  • @angular/core: 7
  • angular-calendar: 6
  • Browser name and version: chrome

Cheer!!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mattlewis92commented, Jul 20, 2019

I just added this in 0.27.14 for you! 😄 In your custom event template you can now do <ng-template let-column="column"> {{ column.date }} </ng-template>. Let me know if that works for you 😄

0reactions
Khanbhai1990commented, Jul 17, 2019

Yes! Would love to know if my custom ng template for event template is referring to July 18 or July 19

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use calendar list view for custom event categories -
The event category that already exists by default can use the list view. Is it possible to extend this to custom categories in...
Read more >
Setting Up Custom Events & The Vendors' Perspective
In project templates, events cannot be published as you are only able to create draft custom events. · This means that the "Start...
Read more >
Custom Events - Airship Docs
Setting up a custom event for your app is easy. For common event types, we provide ready-made templates in our Mobile and Web...
Read more >
Amazon EventBridge event patterns - AWS Documentation
Event patterns have the same structure as the events they match. Rules use event patterns to select events and send them to targets....
Read more >
Custom events | Adobe Analytics - Experience League
Counter events: The default event setting. Most events are counter events. Counts the number of hits where the matching custom event event1 -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found