Skip to content

added viewMode and minViewMode options#22

Open
heyokdang wants to merge 4 commits intobenzen:masterfrom
heyokdang:master
Open

added viewMode and minViewMode options#22
heyokdang wants to merge 4 commits intobenzen:masterfrom
heyokdang:master

Conversation

@heyokdang
Copy link

added viewMode and minViewMode options in code and also added html in demo.html file

viewMode="years", minViewMode="years", format="YYYY";
viewMode="months", minViewMode="months", format="MM";
viewMode="months", minViewMode="months", format="MM YYYY";
@heyokdang heyokdang changed the title Master added viewMode and minViewMode options Dec 16, 2015
@heyokdang
Copy link
Author

now the feature is the same here https://eonasdan.github.io/bootstrap-datetimepicker/#min-view-mode

@heyokdang
Copy link
Author

Please only use first commit, omit Revert. Sorry i'm not pro in git.

Instead of using default-date attribute in html element, i used
$scope.ngmodenameDefaultdate. And add code in .js file.
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.

1 participant