Class: Browser::Event::HashChange::Definition

Inherits:
Definition show all
Defined in:
opal/browser/event/hash_change.rb

Instance Method Summary collapse

Methods inherited from Definition

#bubbles=, #cancelable=

Instance Method Details

#new=(value) ⇒ Object



13
14
15
# File 'opal/browser/event/hash_change.rb', line 13

def new=(value)
  `#@native.newURL = #{value}`
end

#old=(value) ⇒ Object



9
10
11
# File 'opal/browser/event/hash_change.rb', line 9

def old=(value)
  `#@native.oldURL = #{value}`
end