Module: Origami::Annotation::Triggerable
Instance Method Summary collapse
- #onBlur(action) ⇒ Object
- #onFocus(action) ⇒ Object
- #onMouseDown(action) ⇒ Object
- #onMouseOut(action) ⇒ Object
- #onMouseOver(action) ⇒ Object
- #onMouseUp(action) ⇒ Object
- #onPageClose(action) ⇒ Object
- #onPageInvisible(action) ⇒ Object
- #onPageOpen(action) ⇒ Object
- #onPageVisible(action) ⇒ Object
Instance Method Details
#onBlur(action) ⇒ Object
131 132 133 134 |
# File 'lib/origami/annotations.rb', line 131 def onBlur(action) self.AA ||= AdditionalActions.new self.AA.Bl = action end |
#onFocus(action) ⇒ Object
126 127 128 129 |
# File 'lib/origami/annotations.rb', line 126 def onFocus(action) self.AA ||= AdditionalActions.new self.AA.Fo = action end |
#onMouseDown(action) ⇒ Object
116 117 118 119 |
# File 'lib/origami/annotations.rb', line 116 def onMouseDown(action) self.AA ||= AdditionalActions.new self.AA.D = action end |
#onMouseOut(action) ⇒ Object
111 112 113 114 |
# File 'lib/origami/annotations.rb', line 111 def onMouseOut(action) self.AA ||= AdditionalActions.new self.AA.X = action end |
#onMouseOver(action) ⇒ Object
106 107 108 109 |
# File 'lib/origami/annotations.rb', line 106 def onMouseOver(action) self.AA ||= AdditionalActions.new self.AA.E = action end |
#onMouseUp(action) ⇒ Object
121 122 123 124 |
# File 'lib/origami/annotations.rb', line 121 def onMouseUp(action) self.AA ||= AdditionalActions.new self.AA.U = action end |
#onPageClose(action) ⇒ Object
141 142 143 144 |
# File 'lib/origami/annotations.rb', line 141 def onPageClose(action) self.AA ||= AdditionalActions.new self.AA.PC = action end |
#onPageInvisible(action) ⇒ Object
151 152 153 154 |
# File 'lib/origami/annotations.rb', line 151 def onPageInvisible(action) self.AA ||= AdditionalActions.new self.AA.PI = action end |
#onPageOpen(action) ⇒ Object
136 137 138 139 |
# File 'lib/origami/annotations.rb', line 136 def onPageOpen(action) self.AA ||= AdditionalActions.new self.AA.PO = action end |
#onPageVisible(action) ⇒ Object
146 147 148 149 |
# File 'lib/origami/annotations.rb', line 146 def onPageVisible(action) self.AA ||= AdditionalActions.new self.AA.PV = action end |