DOM | > | Mozilla | > | Classes | > | Location |
- Location
-
The Location object is a direct property of the global object. It is retrieved with the GlobalWindowImpl::GetLocation() function, as part of the implementation of the nsIDOMWindowInternal interface. Location is part of the "DOM Level 0". Note that getting the "location" object implicitely maps to its "href" property, which is by far the most used.
Class: LocationImpl
File: dom/src/base/nsLocation.cpp
Doesn't inherit from any class.
Implements the following interfaces:
- nsIDOMLocation: dom/public/idl/base/nsIDOMLocation.idl
- nsIDOMNSLocation: dom/public/idl/base/nsIDOMNSLocation.idl