Spinner Generator

Generator

jscolor
Defaults From SpinnerInputModel
<partial name="_SpinnerPartial" model='@new SpinnerInputModel()' />

Generated

I don't recall where or when I found this svg spinner image in xml format. I have been editing the xml attributes to change the size, speed and color for awhile. I wanted embedded images for the Ajax Postback control which had me editing this svg for the waiting state. Some of my edits have broken the animation and rendering. I developed _SpinnerPartial. cshtml and SpinnerInputModel. cs to dynamically set the size, speed and color without having to undo auto formatting which adds a lot of empty line breaks. I am using a JavaScript literal of the xml to implement the generator.