You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here is a jsFiddle example http://jsfiddle.net/2o1qx9jy/2/
In the provided example, arrows to switch between months are missing.
I was using your demo while creating this sample, can you please point me to a place where I did a mistake, or maybe something is wrong with your feature.
Also, in addition, tooltips for the arrows(that are missing) are provided in English - Previous month/Next month, however I have linked a Russian version and the rest of the calendar has switched the locale.
//cdnjs.cloudflare.com/ajax/libs/angular-i18n/1.5.7/angular-locale_ru-ru.js
That workaround works for me but I was wondering if anybody could be so kind and point me to documentation on $$mdSvgRegistry. I am also using angular-material-calendar as @casper1149 but I am not finding any information on how to specify the various arrows...
For example I can get the basic arrows going for closing and such by using .icon('md-close', $$mdSvgRegistry.mdClose) to specify a close icon but I was wondering how to use this service to specify other icons... for example how would I specify any other icon from the set of angularJS material icons?
Activity
casper1149 commentedon Sep 2, 2016
I have been using https://cdn.rawgit.com/bradberger/angular-material-calendar/master/dist/angular-material-calendar.js after I've switched to your latest version via npm "arrows" problem disappeared, noticed that you've changed the layout a bit
diegofcoelho commentedon May 13, 2017
Hey, @casper1149.. Which version exactly you used to fix the arrow problem?
Cheers
johnrix commentedon Mar 14, 2018
Found this workaround addresses the problem:
vomc commentedon Oct 23, 2018
That workaround works for me but I was wondering if anybody could be so kind and point me to documentation on
$$mdSvgRegistry. I am also using angular-material-calendar as @casper1149 but I am not finding any information on how to specify the various arrows...For example I can get the basic arrows going for closing and such by using
.icon('md-close', $$mdSvgRegistry.mdClose)to specify a close icon but I was wondering how to use this service to specify other icons... for example how would I specify any other icon from the set of angularJS material icons?For instance none of the icons in the AngularJS material page are specified using
$$mdSvgRegistry... https://material.angularjs.org/latest/demo/iconvomc commentedon Oct 23, 2018
Ah nevermind... Just found that only a small list is supported this way as per https://github.com/angular/material/blob/41c9d00dbb3cd85a31c3a02693854f25b2f7a8df/src/components/icon/js/iconService.js