t

io.scalajs.npm.angularjs

LocationProvider

trait LocationProvider extends Object with Provider[Location]

Location Provider - Use the $locationProvider to configure how the application deep linking paths are stored.

Annotations
@RawJSType() @native()
See also

https://docs.angularjs.org/api/ng/provider/$locationProvider

Linear Supertypes
Provider[Location], Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocationProvider
  2. Provider
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def $get(): Location
    Definition Classes
    Provider
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  13. def hashPrefix(prefix: String = js.native): LocationProvider.this.type

    Retrieves or sets the hash prefix

    Retrieves or sets the hash prefix

    prefix

    Prefix for hash part (containing path and search)

    returns

    current value if used as getter or itself (chaining) if used as setter

  14. def html5Mode(mode: Any = js.native): LocationProvider.this.type

    Retrieves or sets the HTML5 mode

    Retrieves or sets the HTML5 mode

    mode

    If boolean, sets html5Mode.enabled to value. If object, sets enabled, requireBase and rewriteLinks to respective values. Supported properties:

    • enabled – {boolean} – (default: false) If true, will rely on history.pushState to change urls where supported. Will fall back to hash-prefixed paths in browsers that do not support pushState.
    • requireBase - {boolean} - (default: true) When html5Mode is enabled, specifies whether or not a tag is required to be present. If enabled and requireBase are true, and a base tag is not present, an error will be thrown when $location is injected. See the $location guide for more information
    • rewriteLinks - {boolean} - (default: true) When html5Mode is enabled, enables/disables url rewriting for relative links.
    returns

    html5Mode object if used as getter or itself (chaining) if used as setter

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toLocaleString(): String
    Definition Classes
    Object
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def valueOf(): Any
    Definition Classes
    Object
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Provider[Location]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped