Skip to content
Discussion options

You must be logged in to vote

If your event colors are classes instead of css colors you can just add another string to it like primary striped.
If the colors are hex or something yeah you're kinda screwed, the only way I can think of would be to override the method:

export default {
  extends: VCalendar,
  methods: {
    genEvent (event, ...args) {
      const vnode = VCalendar.options.methods.genEvent(event, ...args)
      vnode.data.class.striped = event.input.striped
      return vnode
    }
  }
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@thany
Comment options

@KaelWD
Comment options

@thany
Comment options

Answer selected by thany
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