pathname property

String get pathname

The pathname property of the Location interface is a string containing the path of the URL for the location. If there is no path, pathname will be empty: otherwise, pathname contains an initial '/' followed by the path of the URL, not including the query string or fragment.

Implementation

external String get pathname;
set pathname (String value)

Implementation

external set pathname(String value);