p

frontroute

package frontroute

Linear Supertypes
ApplyConverters[Route], ApplyConverterInstances[Route], ApplyConverterInstancesPriLow[Route], Directives, PathMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. frontroute
  2. ApplyConverters
  3. ApplyConverterInstances
  4. ApplyConverterInstancesPriLow
  5. Directives
  6. PathMatchers
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package internal
  2. package ops

Type Members

  1. class BrowserLocationProvider extends LocationProvider
  2. trait ConjunctionMagnet[L] extends AnyRef
  3. class CustomLocationProvider extends LocationProvider
  4. class Directive[L] extends AnyRef
  5. type Directive0 = Directive[Unit]
  6. trait DirectiveExecute[In] extends AnyRef
  7. trait DirectiveUnitExecute extends AnyRef
  8. trait Directives extends AnyRef
  9. case class DocumentMeta(title: String, description: Option[String] = None, keywords: Option[String] = None, robots: Option[String] = None, customMeta: Option[Map[String, String]] = None, status: PageStatusCode = PageStatusCode.Ok) extends Product with Serializable
  10. 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) extends Product with Serializable
  11. trait LocationProvider extends AnyRef
  12. sealed trait PageStatusCode extends Product with Serializable
  13. abstract class PathMatcher[T] extends AnyRef
  14. type PathMatcher0 = PathMatcher[Unit]
  15. trait PathMatchers extends AnyRef
  16. trait Route extends (Location, RoutingState, RoutingState) => RouteResult with com.raquo.laminar.api.Laminar.Mod[com.raquo.laminar.api.Laminar.HtmlElement]
  17. sealed trait RouteResult extends Product with Serializable
  18. final case class ScrollPosition(scrollX: Option[Int], scrollY: Option[Int]) extends Product with Serializable

Value Members

  1. implicit def addDirectiveApply[L](directive: Directive[L])(implicit hac: ApplyConverter[L, Route]): (In) => Route
  2. implicit def addDirectiveExecute[L](directive: Directive[L]): DirectiveExecute[(L) => Unit]
  3. implicit def addNullaryDirectiveApply(directive: Directive0): (Route) => Route
  4. implicit def addNullaryDirectiveExecute(directive: Directive0): DirectiveUnitExecute
  5. def debug(message: Any, optionalParams: Any*)(subRoute: Route): Route
  6. implicit def directiveOfOptionSyntax[L](underlying: Directive[Option[L]]): DirectiveOfOptionOps[L]
  7. def double: PathMatcher[Double]
    Definition Classes
    PathMatchers
  8. implicit def elementToRoute(e: => com.raquo.laminar.api.Laminar.HtmlElement): Route
  9. val extractHost: Directive[String]
    Definition Classes
    Directives
  10. val extractHostname: Directive[String]
    Definition Classes
    Directives
  11. def extractMatchedPath: Directive[List[String]]
    Definition Classes
    Directives
  12. val extractOrigin: Directive[String]
    Definition Classes
    Directives
  13. val extractPort: Directive[String]
    Definition Classes
    Directives
  14. val extractProtocol: Directive[String]
    Definition Classes
    Directives
  15. val extractUnmatchedPath: Directive[List[String]]
    Definition Classes
    Directives
  16. def firstMatch(routes: Route*): Route
  17. def historyScroll: Directive[Option[ScrollPosition]]
    Definition Classes
    Directives
  18. def historyState: Directive[Option[Any]]
    Definition Classes
    Directives
  19. def initRouting(lp: LocationProvider): com.raquo.laminar.api.Laminar.Modifier[com.raquo.laminar.api.Laminar.Element]
  20. def initRouting: com.raquo.laminar.api.Laminar.Modifier[com.raquo.laminar.api.Laminar.Element]
  21. def long: PathMatcher[Long]
    Definition Classes
    PathMatchers
  22. def maybeParam(name: String): Directive[Option[String]]
    Definition Classes
    Directives
  23. def multiParam(name: String): Directive[Seq[String]]
    Definition Classes
    Directives
  24. def navMod(mod: (Signal[Boolean]) => com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[HTMLAnchorElement]]): com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[HTMLAnchorElement]]
  25. def navModExact(mod: (Signal[Boolean]) => com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[HTMLAnchorElement]]): com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[HTMLAnchorElement]]
  26. def navModFn(compare: (Location, org.scalajs.dom.Location) => Boolean)(mod: (Signal[Boolean]) => com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[HTMLAnchorElement]]): com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[HTMLAnchorElement]]
  27. def navigate(to: String, query: Seq[(String, Seq[String])], replace: Boolean): Route
  28. def navigate(to: String, query: Seq[(String, Seq[String])]): Route
    Annotations
    @inline()
  29. def navigate(to: String, query: Map[String, Seq[String]], replace: Boolean): Route
    Annotations
    @inline()
  30. def navigate(to: String, query: Map[String, Seq[String]]): Route
    Annotations
    @inline()
  31. def navigate(to: String, replace: Boolean): Route
    Annotations
    @inline()
  32. def navigate(to: String): Route
    Annotations
    @inline()
  33. val noneMatched: Directive0
    Definition Classes
    Directives
  34. def param(name: String): Directive[String]
    Definition Classes
    Directives
  35. def path[T](m: PathMatcher[T]): Directive[T]
    Definition Classes
    Directives
  36. val pathEnd: Directive0
    Definition Classes
    Directives
  37. def pathPrefix[T](m: PathMatcher[T]): Directive[T]
    Definition Classes
    Directives
  38. def provide[L](value: L): Directive[L]
    Definition Classes
    Directives
  39. def provideOption[L](value: Option[L]): Directive[L]
    Definition Classes
    Directives
  40. def regex(r: Regex): PathMatcher[Match]
    Definition Classes
    PathMatchers
  41. implicit def regexToPathMatcher(r: Regex): PathMatcher[Match]
    Definition Classes
    PathMatchers
  42. val reject: Route
  43. def relativeHref(path: String, query: Seq[(String, Seq[String])]): com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[Anchor]]
  44. def relativeHref(path: String): com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[Anchor]]
    Annotations
    @inline()
  45. def routes[M](mods: com.raquo.laminar.api.Laminar.Modifier[com.raquo.laminar.api.Laminar.Element]*): ReactiveHtmlElement[HTMLDivElement]
  46. def runEffect(effect: => Unit): Route
  47. def segment(s: String): PathMatcher0
    Definition Classes
    PathMatchers
  48. def segment(oneOf: Set[String]): PathMatcher[String]
    Definition Classes
    PathMatchers
  49. def segment(oneOf: Seq[String]): PathMatcher[String]
    Definition Classes
    PathMatchers
  50. def segment: PathMatcher[String]
    Definition Classes
    PathMatchers
  51. implicit def setToSegment(oneOf: Seq[String]): PathMatcher[String]
    Definition Classes
    PathMatchers
  52. implicit def setToSegment(oneOf: Set[String]): PathMatcher[String]
    Definition Classes
    PathMatchers
  53. implicit def singleParam[T1]: ApplyConverter[T1, Route] { type In = T1 => frontroute.Route }
    Definition Classes
    ApplyConverterInstancesPriLow
  54. implicit def stringToSegment(s: String): PathMatcher[Unit]
    Definition Classes
    PathMatchers
  55. def testPath[T](m: PathMatcher[T]): Directive[T]
    Definition Classes
    Directives
  56. def testPathPrefix[T](m: PathMatcher[T]): Directive[T]
    Definition Classes
    Directives
  57. implicit def toTupled1[T1]: ApplyConverter[(T1), Route] { type In = T1 => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  58. implicit def toTupled10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  59. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  60. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  61. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  62. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  63. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  64. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  65. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  66. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  67. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  68. implicit def toTupled2[T1, T2]: ApplyConverter[(T1, T2), Route] { type In = (T1, T2) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  69. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  70. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  71. 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), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  72. implicit def toTupled3[T1, T2, T3]: ApplyConverter[(T1, T2, T3), Route] { type In = (T1, T2, T3) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  73. implicit def toTupled4[T1, T2, T3, T4]: ApplyConverter[(T1, T2, T3, T4), Route] { type In = (T1, T2, T3, T4) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  74. implicit def toTupled5[T1, T2, T3, T4, T5]: ApplyConverter[(T1, T2, T3, T4, T5), Route] { type In = (T1, T2, T3, T4, T5) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  75. implicit def toTupled6[T1, T2, T3, T4, T5, T6]: ApplyConverter[(T1, T2, T3, T4, T5, T6), Route] { type In = (T1, T2, T3, T4, T5, T6) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  76. implicit def toTupled7[T1, T2, T3, T4, T5, T6, T7]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7), Route] { type In = (T1, T2, T3, T4, T5, T6, T7) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  77. implicit def toTupled8[T1, T2, T3, T4, T5, T6, T7, T8]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  78. implicit def toTupled9[T1, T2, T3, T4, T5, T6, T7, T8, T9]: ApplyConverter[(T1, T2, T3, T4, T5, T6, T7, T8, T9), Route] { type In = (T1, T2, T3, T4, T5, T6, T7, T8, T9) => frontroute.Route }
    Definition Classes
    ApplyConverterInstances
  79. def whenFalse(condition: => Boolean): Directive0
    Definition Classes
    Directives
    Annotations
    @inline()
  80. def whenTrue(condition: => Boolean): Directive0
    Definition Classes
    Directives
  81. def withMatchedPath[Ref <: Element](mod: (com.raquo.laminar.api.Laminar.StrictSignal[List[String]]) => com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[Ref]]): com.raquo.laminar.api.Laminar.Mod[ReactiveHtmlElement[Ref]]
  82. object BrowserNavigation
  83. object ConjunctionMagnet
  84. object Directive
  85. object DocumentMeta extends Serializable
  86. object LinkHandler
  87. object Location extends Serializable
  88. object LocationProvider
  89. object LocationUtils
  90. object NavElement
  91. object PageStatusCode extends Serializable
  92. object PathMatcher
  93. object Route
  94. object RouteResult extends Serializable

Deprecated Value Members

  1. def concat(routes: Route*): Route
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) use firstMatch instead

Inherited from ApplyConverters[Route]

Inherited from ApplyConverterInstances[Route]

Inherited from ApplyConverterInstancesPriLow[Route]

Inherited from Directives

Inherited from PathMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped