Documentation ¶
Index ¶
- Variables
- func CreateObjectURL(object interface{}) (string, error)
- func GetInterface() js.Value
- func RevokeObjectURL(objecturl string) error
- type URL
- func (u URL) Hash() (string, error)
- func (u URL) Host() (string, error)
- func (u URL) Hostname() (string, error)
- func (u URL) Href() (string, error)
- func (u URL) Location_() URL
- func (u URL) Origin() (string, error)
- func (u URL) Password() (string, error)
- func (u URL) Pathname() (string, error)
- func (u URL) Port() (string, error)
- func (u URL) Protocol() (string, error)
- func (u URL) Search() (string, error)
- func (u URL) SearchParams() (urlsearchparams.URLSearchParams, error)
- func (u URL) SetHash(hash string) error
- func (u URL) SetHost(host string) error
- func (u URL) SetHostname(hostname string) error
- func (u URL) SetHref(href string) error
- func (u URL) SetPassword(password string) error
- func (u URL) SetPathname(pathname string) error
- func (u URL) SetPort(port string) error
- func (u URL) SetProtocol(protocol string) error
- func (u URL) SetSearch(search string) error
- func (u URL) SetUsername(username string) error
- func (u URL) ToJSON() (string, error)
- func (u URL) Username() (string, error)
- type URLFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented URL") ErrNotAURL = errors.New("Object is not an URL") )
Functions ¶
func CreateObjectURL ¶
func RevokeObjectURL ¶
Types ¶
type URL ¶
type URL struct {
baseobject.BaseObject
}
func (URL) SearchParams ¶
func (u URL) SearchParams() (urlsearchparams.URLSearchParams, error)
func (URL) SetHostname ¶
func (URL) SetPassword ¶
func (URL) SetPathname ¶
func (URL) SetProtocol ¶
func (URL) SetUsername ¶
Click to show internal directories.
Click to hide internal directories.