GeoffZhu / vue-event-calendar

A simple events calendar for Vue2, no dependencies except Vue2.

Home Page:http://geoffzhu.cn/vue-event-calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hide the .events-wrapper in only one component

opened this issue · comments

#70 Thanks for fast reply
@GeoffZhu Thanks for fast reply.
<style scoped> .events-wrapper{ dispaly: none; } </style>

It is not working as expected.

<style> .events-wrapper{ dispaly: none; } </style>

remove scoped

@GeoffZhu I am sorry but there is only one doubt. What if I want to hide the .events-wrapper in only one component?

@GeoffZhu I am in a bit project and urgently want to know if there is any way to hide the .events-wrapper in one component only?

you can enter .events-wrapper{ dispaly: none; } in the file named vue-event-calendar/dist/style.css

@GeoffZhu What if I have to show events-wrapper in one component and show in another one? I tried everything from using !important in css also.

<div class="hidden-calendar-wrapper">
  <vue-event-calendar></vue-event-calendar>
<div>

.hidden-calendar-wrapper .events-wrapper{ dispaly: none; }

:)