pathname property

String get pathname

Returns the Location object's URL's path.

Can be set, to navigate to the same URL with a changed path.

MDN Reference

Implementation

_i2.String get pathname => _i4.getProperty(
      this,
      'pathname',
    );
set pathname (String value)

Implementation

set pathname(_i2.String value) {
  _i4.setProperty(
    this,
    'pathname',
    value,
  );
}