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

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

Instance Method Summary collapse

Methods inherited from Definition

#bubbles=, #cancelable=, new

Instance Method Details

#new=(value) ⇒ Object



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

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

#old=(value) ⇒ Object



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

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