frontroute

package frontroute

Members list

Packages

package frontroute.ops

Type members

Classlikes

class BrowserLocationProvider(popStateEvents: EventStream[PopStateEvent]) extends LocationProvider

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
class CustomLocationProvider(locationStrings: Signal[String]) extends LocationProvider

Attributes

Supertypes
class Object
trait Matchable
class Any
class Directive[L](val tapply: (L => Route) => Route)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
object Directive

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Directive.type
trait DirectiveExecute[In]

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Directives

Attributes

Supertypes
class Object
trait Matchable
class Any
case class DocumentMeta(title: String, description: Option[String], keywords: Option[String], robots: Option[String], customMeta: Option[Map[String, String]], status: PageStatusCode)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DocumentMeta

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class Location(hostname: String, port: String, protocol: String, host: String, origin: String, path: List[String], fullPath: List[String], params: Map[String, Seq[String]], state: UndefOr[Any], otherMatched: Boolean)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Location

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Location.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object LocationUtils

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object NavElement

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
NavElement.type
sealed trait PageStatusCode extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Error.type
object NotFound.type
object Ok.type

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class PathMatcher[T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
object PathMatcher

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait PathMatchers

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Route extends (Location, RoutingState, RoutingState) => RouteResult, Modifier[HtmlElement]

Attributes

Companion
object
Supertypes
trait Modifier[HtmlElement]
trait (Location, RoutingState, RoutingState) => RouteResult
class Object
trait Matchable
class Any
object Route

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Route.type
sealed trait RouteResult extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Matched
object Rejected.type
class RunEffect
object RouteResult

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ScrollPosition(scrollX: Option[Int], scrollY: Option[Int])

Attributes

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

Types

type Directive0 = Directive[Unit]
type PathMatcher0 = PathMatcher[Unit]

Value members

Concrete methods

def debug(message: Any, optionalParams: Any*)(subRoute: Route): Route
def firstMatch(routes: Route*): Route
def initRouting: Modifier[Element]
def initRouting(lp: LocationProvider): Modifier[Element]
def relativeHref(path: String): Modifier[ReactiveHtmlElement[Anchor]]
def relativeHref(path: String, query: Seq[(String, Seq[String])]): Modifier[ReactiveHtmlElement[Anchor]]
def routes[M](mods: Modifier[Element]*): ReactiveHtmlElement[HTMLDivElement]
def runEffect(effect: => Unit): Route
def withMatchedPath[Ref <: Element](mod: StrictSignal[List[String]] => Modifier[ReactiveHtmlElement[Ref]]): Modifier[ReactiveHtmlElement[Ref]]

Deprecated methods

def concat(routes: Route*): Route

Attributes

Deprecated
true

Inherited methods

def double: PathMatcher[Double]

Attributes

Inherited from:
PathMatchers
def extractMatchedPath: Directive[List[String]]

Attributes

Inherited from:
Directives

Attributes

Inherited from:
Directives
def historyState: Directive[Option[Any]]

Attributes

Inherited from:
Directives
def long: PathMatcher[Long]

Attributes

Inherited from:
PathMatchers
def maybeParam(name: String): Directive[Option[String]]

Attributes

Inherited from:
Directives
def multiParam(name: String): Directive[Seq[String]]

Attributes

Inherited from:
Directives
def param(name: String): Directive[String]

Attributes

Inherited from:
Directives
def path[T](m: PathMatcher[T]): Directive[T]

Attributes

Inherited from:
Directives
def pathPrefix[T](m: PathMatcher[T]): Directive[T]

Attributes

Inherited from:
Directives
def provide[L](value: L): Directive[L]

Attributes

Inherited from:
Directives
def provideOption[L](value: Option[L]): Directive[L]

Attributes

Inherited from:
Directives
def regex(r: Regex): PathMatcher[Match]

Attributes

Inherited from:
PathMatchers
def segment(s: String): PathMatcher0

Attributes

Inherited from:
PathMatchers
def segment(oneOf: Set[String]): PathMatcher[String]

Attributes

Inherited from:
PathMatchers
def segment(oneOf: Seq[String]): PathMatcher[String]

Attributes

Inherited from:
PathMatchers
def segment: PathMatcher[String]

Attributes

Inherited from:
PathMatchers
def testPath[T](m: PathMatcher[T]): Directive[T]

Attributes

Inherited from:
Directives

Attributes

Inherited from:
Directives
def whenFalse(condition: => Boolean): Directive0

Attributes

Inherited from:
Directives
def whenTrue(condition: => Boolean): Directive0

Attributes

Inherited from:
Directives

Concrete fields

val reject: Route

Inherited fields

val extractHost: Directive[String]

Attributes

Inherited from:
Directives
val extractHostname: Directive[String]

Attributes

Inherited from:
Directives
val extractOrigin: Directive[String]

Attributes

Inherited from:
Directives
val extractPort: Directive[String]

Attributes

Inherited from:
Directives
val extractProtocol: Directive[String]

Attributes

Inherited from:
Directives
val extractUnmatchedPath: Directive[List[String]]

Attributes

Inherited from:
Directives

Attributes

Inherited from:
Directives

Attributes

Inherited from:
Directives

Implicits

Implicits

implicit def addDirectiveApply[L](directive: Directive[L])(implicit hac: ApplyConverter[L, Route]): In => Route
implicit def addDirectiveExecute[L](directive: Directive[L]): DirectiveExecute[L => Unit]
implicit def addNullaryDirectiveApply(directive: Directive0): Route => Route
implicit def directiveOfOptionSyntax[L](underlying: Directive[Option[L]]): DirectiveOfOptionOps[L]
implicit def elementToRoute(e: => HtmlElement): Route

Inherited implicits

implicit def regexToPathMatcher(r: Regex): PathMatcher[Match]

Attributes

Inherited from:
PathMatchers
implicit def setToSegment(oneOf: Seq[String]): PathMatcher[String]

Attributes

Inherited from:
PathMatchers
implicit def setToSegment(oneOf: Set[String]): PathMatcher[String]

Attributes

Inherited from:
PathMatchers
implicit def singleParam[T1]: ApplyConverter[T1, O] { type In = T1 => O; }

Attributes

Inherited from:
ApplyConverterInstancesPriLow
implicit def stringToSegment(s: String): PathMatcher[Unit]

Attributes

Inherited from:
PathMatchers
implicit def toTupled1[T1]: ApplyConverter[(T1), O] { type In = T1 => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled2[T1, T2]: ApplyConverter[(T1, T2), O] { type In = (T1, T2) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled3[T1, T2, T3]: ApplyConverter[(T1, T2, T3), O] { type In = (T1, T2, T3) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled4[T1, T2, T3, T4]: ApplyConverter[(T1, T2, T3, T4), O] { type In = (T1, T2, T3, T4) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled5[T1, T2, T3, T4, T5]: ApplyConverter[(T1, T2, T3, T4, T5), O] { type In = (T1, T2, T3, T4, T5) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled6[T1, T2, T3, T4, T5, T6]: ApplyConverter[(T1, T2, T3, T4, T5, T6), O] { type In = (T1, T2, T3, T4, T5, T6) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled7[T1, T2, T3, T4, T5, T6, T7]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7), O] { type In = (T1, T2, T3, T4, T5, T6, T7) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled8[T1, T2, T3, T4, T5, T6, T7, T8]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8) => O; }

Attributes

Inherited from:
ApplyConverterInstances
implicit def toTupled9[T1, T2, T3, T4, T5, T6, T7, T8, T9]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9), O] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9) => O; }

Attributes

Inherited from:
ApplyConverterInstances