
urldsl.url.URL.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of url-dsl_sjs1_3 Show documentation
Show all versions of url-dsl_sjs1_3 Show documentation
A tiny library for parsing and creating urls in a type-safe way
The newest version!
package urldsl.url
import scala.scalajs.js
import scala.scalajs.js.annotation.JSGlobal
/** This is stolen from org.scalajs.dom so that we don't need to import the whole library. */
@js.native
@JSGlobal
private[url] final class URL(url: String) extends js.Object {
/** Is a DOMString containing an initial '/' followed by the path of the URL.
*
* MDN
*/
var pathname: String = js.native
/** Is a DOMString containing a '?' followed by the parameters of the URL.
*
* MDN
*/
var search: String = js.native
/** Is a DOMString containing a '#' followed by the fragment identifier of the URL.
*
* MDN
*/
var hash: String = js.native
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy