Skip to content

Conversation

@cedricdelpoux
Copy link

This PR add the possibility to add a custom class parameter to the pickadate directive.
Users could customize the calendar.

Exemple :

<div pickadate custom-class="myCustomClass"></div>

Result :

<div class="pickadate myCustomClass" ...>...</div>

capture d ecran 2015-09-02 10 42 27

@gschammah
Copy link
Contributor

hi @cedricdelpoux

Thanks for your PR. There are 2 ways of accomplishing what you need without the custom-class parameter.

  1. Wrap the datepicker in a div with your custom classname
  2. Check the branch Feature/templates #47. Is not finished yet, but it will allow you to create a custom template (probably what you need)

I prefer to add the ability of creating custom templates than adding custom classes.

Thanks a lot!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants