I would like to use the angular material datepicker as a widget to control an instance of fullCalendar. Is there a way to force it to stay alway open and in a particular div? I know how to do it easily with bootstrap or jqueryUI but I would not want to add an extra dependency to my project.
相关问题
- angularJS: ui-router equivalent to $location.searc
- Separate AngularJS Controllers Into Separate Files
- Angular ngAnimate not working first time on page l
- Ionic Spinner not showing up
- Angular Mat Select CompareWith ID number, and Emit
相关文章
- Angular Material Stepper causes mat-formfield to v
- Angular material table not showing data
- Passing variable through URL with angular js
- Watch entire object (deep watch) with AngularJS
- Angular ng-if change span text
- Can ng-show directive be used with a delay
- fullcalendar, how to limit the number of events pe
- AngularJS $routeParams vs $stateParams
it's working on angular version 6.x
Emits when the currently selected date changes
Emits the year chosen in multiyear view. This doesn't simply a change on the selected date
Emits the month chosen in year view. This doesn't simply a change on the selected date
Emits when any date is selected
but still missing some needed events like an event for the next and previous buttons
img
GitHub issue
calendar.ts
Following up on @kuhnroyal his answer. If you want to go below 340px of width you can do the following:
This for instance, sets the width to 280px. Just be sure that you set the selection indicator as well.
I wanted the height to be 240px as well, therefore I set the height of the scroll mask to 240px.
Well, you can get that to work with some CSS, but the internal scroll position of the month scroller starts always at the top (1932).
md-calendar
is the internal directive that renders the datepicker, so just use that.And set the CSS to fixed size, which is usually calculated by the datepicker.
But you can probably write your own directive that requires the
mdCalendar
controller and set the scroll position there.http://codepen.io/kuhnroyal/pen/EPQpGE