Completed
Push — master ( b40fe7...e348e7 )
by Yoh
49s
created

FocusEvent.related_target()   A

Complexity

Conditions 1

Duplication

Lines 0
Ratio 0 %

Size

Total Lines 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
1
module Hyalite
2
  module Dom
3
    module Event
4
      class FocusEvent
5
        include Native
6
        include Event
7
8
        def related_target
9
          Node.create(`#@native.relatedTarget`)
10
        end
11
      end
12
    end
13
  end
14
end
15