Closed jorjordandan closed 9 years ago
Changed <div>
to <i>
element which fixed display issue, and matches the ionIcon tags anyways.
Ah good call.
@jorjordandan this is looking good, but I noticed in my testing (https://github.com/meteoric/demo/blob/master/client/templates/spinner/spinner.html) that the Android spinner doesn't animate. Any ideas?
Not sure if the below error is related:
ReferenceError: $element is not defined
at start (ionSpinner.js:445)
at init (ionSpinner.js:440)
at Template.ionSpinner.rendered (ionSpinner.js:422)
at template.js:116
at Function.Template._withTemplateInstanceFunc (template.js:437)
at fireCallbacks (template.js:112)
at null.<anonymous> (template.js:205)
at view.js:104
at Object.Blaze._withCurrentView (view.js:523)
at view.js:103
Looks like I got a little ahead of myself before....
I hope this is better - I'm adding the icon to a class name (as the last class) , and then grabbing it on my rendered callback. I tried to pass it through the template data context, but couldn't (it's read only). I'm not sure how else to pass the icon name.