Sha256: 374fdac6274357b80718a142e49aba0558c92d46f104b6936d808bae4d20c434
Contents?: true
Size: 506 Bytes
Versions: 12
Compression:
Stored size: 506 Bytes
Contents
# -*- coding: utf-8 -*- require 'xot/const_symbol_accessor' require 'reflex/ext' module Reflex class FocusEvent < Event alias get_action action const_symbol_reader :action, **{ none: ACTION_NONE, focus: FOCUS, blur: BLUR } def focus?() get_action == FOCUS end def blur?() get_action == BLUR end def inspect() "#<Reflex::FocusEvent action:#{action} current:#{current} last:#{last}>" end end# FocusEvent end# Reflex
Version data entries
12 entries across 12 versions & 1 rubygems