We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Many of the Location methods return this, like for example search. This allows a syntax such as:
Location
this
search
$location.search("code","ABC").path("/people/edit")
see https://github.com/angular/angular.js/blob/a509e9aa149d0f88cc39f703d539f7ffd4cd6103/src/ng/location.js#L522
Location most likely should look like
trait Location extends js.Object { def absUrl(): String = js.native def url(url: String = null, replace: String = null): Location = js.native def protocol(): String = js.native def host(): String = js.native def port(): Int = js.native def path(): String = js.native def path(path: String): Location = js.native def search(search: js.Any, paramValue: js.Any = null) : Location = js.native def hash(hash: String = null): String = js.native def replace(): Location = js.native }
The text was updated successfully, but these errors were encountered:
273101c
jokade
No branches or pull requests
Many of the
Location
methods returnthis
, like for examplesearch
. This allows a syntax such as:see https://github.com/angular/angular.js/blob/a509e9aa149d0f88cc39f703d539f7ffd4cd6103/src/ng/location.js#L522
Location
most likely should look likeThe text was updated successfully, but these errors were encountered: