object History
Convenience functionality for working with browser history.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- History
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
alwaysReload: Var[Boolean]
If set to true calling push and replace will always result in the same functionality as set.
If set to true calling push and replace will always result in the same functionality as set. This is a toggle to be able to disable single-application mode with one switch.
Defaults to false.
- def anchor(anchor: Anchor, location: String): Anchor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def back(delta: Int = 1): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fixAnchor(anchor: Anchor): Anchor
-
def
fixAnchors(): Unit
Updates all anchors on the page to internal links to push history instead of loading another page.
Updates all anchors on the page to internal links to push history instead of loading another page. Essentially converts all links to be single-page-app compliant. May be run multiple times and will only change new links.
- def forward(delta: Int = 1): Unit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSecure: Boolean
- def linkType(href: String): LinkType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def push(url: URL, state: Any = null): Unit
- def pushPath(path: Path, keepParams: Boolean = false, state: Any = null): Unit
- def reload(force: Boolean): Unit
- def replace(url: URL, state: Any): Unit
- def replacePath(path: Path, keepParams: Boolean = false, state: Any = null): Unit
- def set(url: URL, target: String = "_self"): Unit
- def setPath(path: Path, keepParams: Boolean = false): Unit
- val stateChange: Channel[HistoryStateChange]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def update(change: HistoryStateChange): Unit
- val url: Val[URL]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()