Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Url.getHash

getHash() -> string

Description

Get the hash part of the Url.

$siteUrl = url'/home#section-2'

$siteUrl.getHash()
//= 'section-2'

See Also