Props

net.wiringbits.webapp.utils.slinkyUtils.components.core.AsyncComponent$.Props
case class Props[D](fetch: () => Future[D], render: D => ReactElement, onDataLoaded: D => Unit, progressIndicator: () => ReactElement, progressIndicatorWhileReloadingData: Boolean, retryLabel: String, watchedObjects: Iterable[Any])

Value parameters

fetch

the function to fetch the data

onDataLoaded

a function invoked when the remote data has been loaded

progressIndicator

the component rendered when the data is being loaded

progressIndicatorWhileReloadingData

whether to display the progress indicator every time the data is being reloaded

render

the function to render the data once it is available

retryLabel

the label to use in the button that retries the operation

watchedObjects

objects being watched, when any of those changes, the data is loaded again

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product