BaseUrl

japgolly.scalajs.react.extra.router.BaseUrl
See theBaseUrl companion object
final case class BaseUrl(value: String) extends PathLike[BaseUrl]

The prefix of all routes on a page.

The router expects this to be a full URL. Examples: BaseUrl("http://www.blah.com/hello"), BaseUrl.fromWindowOrigin / "hello".

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class PathLike[BaseUrl]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def abs: AbsUrl
def apply(p: Path): AbsUrl

Inherited methods

final def +(p: BaseUrl): Self

Attributes

Inherited from:
PathLike
final def +(p: String): Self

Attributes

Inherited from:
PathLike
final def /(p: BaseUrl): Self

Attributes

Inherited from:
PathLike
final def /(p: String): Self

Attributes

Inherited from:
PathLike
final def endWith_/: Self

Attributes

Inherited from:
PathLike
final def isEmpty: Boolean

Attributes

Inherited from:
PathLike
final def map(f: String => String): Self

Attributes

Inherited from:
PathLike
final def nonEmpty: Boolean

Attributes

Inherited from:
PathLike
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def rtrim_/: Self

Attributes

Inherited from:
PathLike