x
1
<div class="gl-spinner-container js-do-something" data-foo="bar" id="my-special-spinner" role="status"><span aria-label='Loading' class='gl-spinner gl-spinner-sm gl-spinner-dark !gl-align-text-bottom'></span></div>
1
2
3
4
5
render Pajamas::SpinnerComponent.new( class: "js-do-something", data: { foo: "bar" }, id: "my-special-spinner")
Any extra HTML attributes like class
, data
or id
get automatically applied to the spinner container element.
No params configured.