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


15
16
17
# File 'opal/browser/event/hash_change.rb', line 15

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

#old=(value) ⇒ Object


11
12
13
# File 'opal/browser/event/hash_change.rb', line 11

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