Reference Source
import LoadingIndicator from 'flarum/compone/LoadingIndicator'
public class | source

LoadingIndicator

Extends:

src/common/Component.js~Component → LoadingIndicator

The LoadingIndicator component displays a loading spinner with spin.js. It may have the following special props:

  • size The spin.js size preset to use. Defaults to 'small'.

All other props will be assigned as attributes on the element.

Method Summary

Public Methods
public

oncreate(vnode: *)

public

view(vnode: *): *

Public Methods

public oncreate(vnode: *) source

Params:

NameTypeAttributeDescription
vnode *

public view(vnode: *): * source

Params:

NameTypeAttributeDescription
vnode *

Return:

*