Giter Site home page Giter Site logo

Comments (4)

KennethanCeyer avatar KennethanCeyer commented on July 20, 2024

Hi @matheusdelima!

I'm understand what you need.

Umm, In your image, 6, 7, 8, 9, 10, 11 days be seemed to disabled days.

You can make disabled days by disabledDates option.

But the point seemed custom highlight days.

If you want to put on the class at 3 day or 25 day(random picked),

and style with CSS at those class, I think you can solve the issue.

If this solution is right, Please answer me i will make the feature on next version.

Sorry about the sentence, I am not living in English-speaking countries.

Thank you for interesting in the plugin!

from pg-calendar.

matheusdelima avatar matheusdelima commented on July 20, 2024

Hi, Thanks for replay,
Basically the function disabledDays but in inverse.

I need only to specify the days there are events and no the days wich not events

You understand?

from pg-calendar.

KennethanCeyer avatar KennethanCeyer commented on July 20, 2024

Hi @matheusdelima ~!

This plugin give two options to give disable option for dates

disabledDates, enabledDates

If you only want to give some enable dates options.

You can use enabledDates (This is string array type and string format must be 'YYYY-MM-DD')

PS (Sorry about the explanation, disabledDays -> disabledDates and this property is not the function, just string array type option 😄 )

Thank you for your time!

from pg-calendar.

matheusdelima avatar matheusdelima commented on July 20, 2024

Thank you! Great Job

from pg-calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.