locationHash property

String get locationHash

The current URL hash fragment, e.g. '#section' (with the leading #).

Returns an empty string on non-web.

Implementation

static String get locationHash => impl.locationHash;
set locationHash (String value)

Sets the URL hash fragment. No-op on non-web.

Implementation

static set locationHash(String value) => impl.setLocationHash(value);