hash property

String get hash

Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).

Can be set, to change the URL's fragment (ignores leading "#").

MDN Reference

Implementation

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

Implementation

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