Every line of 'location href' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
76 function createHref(location) { 77 return history.createHref(resolveLocation(location)); 78 }
91 getHref(): string { 92 return this.$window.location.href; 93 }
389 set location(href) { 390 this.$_location.href = href 391 }
87 setHref(href: string): void { 88 this.$window.location.href = href; 89 }
182 function createHref(location) { 183 return createPath(location); 184 }
209 export function provideLocationHref() { 210 return window && window.location.href; 211 }