Method: Browser::History#current

Defined in:
opal/browser/history.rb

#currentString (readonly)

Returns the current item.

Returns:

  • (String)

    the current item



53
54
55
# File 'opal/browser/history.rb', line 53

def current
  $window.location.full_path
end