Class Index | File Index

Classes


Class createjs.Location


Defined in: location.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A class that parses a URL and creates properties compatible with the ones of the Location interface.
Field Summary
Field Attributes Field Name and Description
 
The fragment identifier (a.k.a.
 
The host name of the source URL and its port number.
 
A file path of the source URL.
 
The protocol scheme of the source URL.
 
The search name (a.k.a.
 
The user name of the source URL and its password.
Method Summary
Method Attributes Method Name and Description
 
Returns the extension.
 
Returns whether this location is a cross-domain one.
 
Returns whether this location is a local one.
 
Returns whether this location is a relative one.
Class Detail
createjs.Location(source)
A class that parses a URL and creates properties compatible with the ones of the Location interface.
Parameters:
{string} source
Field Detail
hash
The fragment identifier (a.k.a. hash) of the source URL.

hostname
The host name of the source URL and its port number.

pathname
A file path of the source URL.

protocol
The protocol scheme of the source URL.

search
The search name (a.k.a. query) of the source URL.

user
The user name of the source URL and its password.
Method Detail
{string} getExtension()
Returns the extension.
Returns:
{string}

{boolean} isCrossDomain()
Returns whether this location is a cross-domain one.
Returns:
{boolean}

{boolean} isLocal()
Returns whether this location is a local one.
Returns:
{boolean}

{boolean} isRelative()
Returns whether this location is a relative one.
Returns:
{boolean}

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:29 GMT+0900 (JST)