kreuzberg.extras

Members list

Packages

Type members

Classlikes

Attributes

Supertypes
trait Backend
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
abstract class LazyLoader[T] extends SimpleComponentBase

A Base class for components which lazy load stuff from an external service.

A Base class for components which lazy load stuff from an external service.

Attributes

Companion
object
Supertypes
class SimpleComponentBase
trait Component
trait Identified
trait SimpleContextDsl
trait ComponentDsl
trait ContextDsl
class Object
trait Matchable
class Any
Show all
object LazyLoader

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
LazyLoader.type
case class LocalStorage[M](initial: M, key: String, serializer: M => String, deserializer: String => M) extends HeadlessComponentBase

Encapsulates a model, which is backed by local storage. Note: You need to have a Backend Service.

Encapsulates a model, which is backed by local storage. Note: You need to have a Backend Service.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait HeadlessComponentBase
trait ContextDsl
trait HeadlessComponent
trait Identified
class Object
trait Matchable
class Any
Show all
object LocalStorage

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait PathCodec[S]

Helper for encoding/decoding UrlResource.

Helper for encoding/decoding UrlResource.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object PathCodec

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
PathCodec.type
case class PlainLink(name: String, target: String) extends SimpleComponentBase

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class SimpleComponentBase
trait Component
trait Identified
trait SimpleContextDsl
trait ComponentDsl
trait ContextDsl
class Object
trait Matchable
class Any
Show all
trait Route

A Route within SimpleRouter

A Route within SimpleRouter

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait EagerRoute
class DependentRoute[S]
class SimpleRoute
class LazyRoute[S]
object Route

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Route.type
case class RouterLink(target: String, name: String, deco: Boolean) extends SimpleComponentBase

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class SimpleComponentBase
trait Component
trait Identified
trait SimpleContextDsl
trait ComponentDsl
trait ContextDsl
class Object
trait Matchable
class Any
Show all
case class RoutingTarget(title: String, component: Component)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SimpleRouter(routes: Vector[Route], notFoundRoute: EagerRoute, titlePrefix: String, errorHandler: (UrlResource, Throwable) => Component, loadingHandler: (Option[Route]) => Component) extends SimpleComponentBase

A Simple router implementation.

A Simple router implementation.

Value parameters

errorHandler

generic error handler

loadingHandler

generic loading handler

notFoundRoute

route to be called, if no route matches

routes

the different routes

titlePrefix

prefix to be added for titles

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class SimpleComponentBase
trait Component
trait Identified
trait SimpleContextDsl
trait ComponentDsl
trait ContextDsl
class Object
trait Matchable
class Any
Show all
object SimpleRouter

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object UriHelper

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
UriHelper.type
final case class UrlResource(str: String) extends AnyVal

Path + Query + Fragment of an URL

Path + Query + Fragment of an URL

Note: path is not url encoded, so keep care do not have illegal characters in it.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object UrlResource

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type