Skip to content

show certain days as events  #65

Open

Description

@harsh-vardhhan

How can I show certain days as highlighted

Activity

  1. chmartinez commented on Oct 22, 2015

    @chmartinez

    I would suggest you do something similar to the disabled dates functionality, and instead of adding the "disabled" class to the date, add an "special-day" class.
    Here: https://github.com/chmartinez/angular-pickadate. Take a look and tell me if it fits your needs. Hope it helps!

  2. sbluday commented on Nov 16, 2016

    @sbluday

    @chmartinez Your fork doesn't adding the special-day class

  3. sbluday commented on Nov 16, 2016

    @sbluday

    @chmartinez Worked in non-minified version. Weird. Idk. Have to check.

  4. mpospelov commented on Nov 16, 2016

    @mpospelov

    Hello.

    I created the functionality suitable for this case
    https://github.com/mpospelov/angular-pickadate/commit/45041e24cb43991f8deedafbf9fb950861cda8d5

    Here you can check the commit. I can create PR if you want.

    It's just allows to put custom function which will accept a day and return the array of classes. Check the tests for more details

  5. chmartinez commented on Nov 16, 2016

    @chmartinez

    +1. Waay cleaner than my version. Thanks @mpospelov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions