Skip to content

cell background and event placing on footer (Orig.Title:Question about the design) #109

Closed Answered by eouia
m4nino asked this question in Q&A
Discussion options

You must be logged in to vote

Conditions

  • Only consider event TurnA and TurnB, (no TurnC or other else)
  • Distinguish events by only obvious event titles.
    • Identifiers are TurnA and TurnB. e.g. BlahBlahTurnABlah will be regarded as TurnA. But turn A will not be recognized.
    • TurnA and TurnB will also be problem, so keep the rule.
  • Each event should be long enough to over night.

Configuration

// In config of module CX3
manipulateDateCell: (cell, events) => {
   if (cell.dataset.events < 1) return
   const cellDate = new Date(+cell.dataset.date)
   const date = cellDate.getDate()
   events.forEach((event) => {
   	const keyMap = {
   		'a' : 'TurnA', // 'TurnA' is the part of event title to target, 'a' is the class name …

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
5 replies
@m4nino
Comment options

@eouia
Comment options

eouia Nov 7, 2023
Maintainer

@m4nino
Comment options

@eouia
Comment options

eouia Nov 7, 2023
Maintainer

@m4nino
Comment options

Comment options

You must be logged in to vote
7 replies
@eouia
Comment options

eouia Nov 9, 2023
Maintainer

@eouia
Comment options

eouia Nov 9, 2023
Maintainer

@eouia
Comment options

eouia Nov 9, 2023
Maintainer

@m4nino
Comment options

@eouia
Comment options

Answer selected by m4nino
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #108 on November 07, 2023 16:43.