Path

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

The portion of the URL after the BaseUrl.

Attributes

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

Members list

Value members

Concrete methods

def abs(implicit base: BaseUrl): AbsUrl
def removePrefix(prefix: String): Option[Path]

Attempts to remove an exact prefix and return a non-empty suffix.

Attempts to remove an exact prefix and return a non-empty suffix.

Attributes

Inherited methods

final def +(p: Path): Self

Attributes

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

Attributes

Inherited from:
PathLike
final def /(p: Path): 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