Method: Event#meta?
- Defined in:
- lib/source/redshift/event.rb
#meta? ⇒ Boolean
call-seq:
evnt. -> true or false
Returns true if the meta key was depressed during the event, false otherwise.
Document['#example'].listen(:click) {|element, event| puts "meta-clicked" if event. }
meta-clicking element ‘#example’ produces:
-clicked
196 197 198 |
# File 'lib/source/redshift/event.rb', line 196 def `this.__meta__` end |