Gbuomprisco / ngx-content-loading

Angular component to create SVG loading placeholders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot read property 'speed' of undefined

sarbjeet-cmsDev opened this issue · comments

	<ngx-content-loading 
[speed]="'1500ms'"
[width]="1000"
[height]="300"
[primaryColor]="'#222'"
[secondaryColor]="'#5e5e5e'">
<svg:g ngx-circle cy="30" cx="30" r="30" ry="5"></svg:g>
  <svg:g ngx-rect width="150" height="10" y="10" x="70" rx="5" ry="5"></svg:g>
  <svg:g ngx-rect width="90" height="10" y="40" x="70" rx="5" ry="5"></svg:g>
  <svg:g ngx-rect width="210" height="10" y="70" x="0" rx="5" ry="5"></svg:g>
  <svg:g ngx-rect width="240" height="10" y="100" x="0" rx="5" ry="5"></svg:g>

Error i s

ERROR TypeError: Cannot read property 'speed' of undefined
at Object.eval [as updateDirectives] (RectComponent.html:17)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:14339)
at checkAndUpdateView (core.js:13508)
at callViewAction (core.js:13858)
at execComponentViewsAction (core.js:13790)
at checkAndUpdateView (core.js:13514)
at callViewAction (core.js:13858)
at execComponentViewsAction (core.js:13790)
at checkAndUpdateView (core.js:13514)
at callViewAction (core.js:13858)

please let me know what I am missing