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
133 134 135 136 |
# File 'lib/origami/annotations.rb', line 133 def onBlur(action) self.AA ||= AdditionalActions.new self.AA.Bl = action end |
#onFocus(action) ⇒ Object
128 129 130 131 |
# File 'lib/origami/annotations.rb', line 128 def onFocus(action) self.AA ||= AdditionalActions.new self.AA.Fo = action end |
#onMouseDown(action) ⇒ Object
118 119 120 121 |
# File 'lib/origami/annotations.rb', line 118 def onMouseDown(action) self.AA ||= AdditionalActions.new self.AA.D = action end |
#onMouseOut(action) ⇒ Object
113 114 115 116 |
# File 'lib/origami/annotations.rb', line 113 def onMouseOut(action) self.AA ||= AdditionalActions.new self.AA.X = action end |
#onMouseOver(action) ⇒ Object
108 109 110 111 |
# File 'lib/origami/annotations.rb', line 108 def onMouseOver(action) self.AA ||= AdditionalActions.new self.AA.E = action end |
#onMouseUp(action) ⇒ Object
123 124 125 126 |
# File 'lib/origami/annotations.rb', line 123 def onMouseUp(action) self.AA ||= AdditionalActions.new self.AA.U = action end |
#onPageClose(action) ⇒ Object
143 144 145 146 |
# File 'lib/origami/annotations.rb', line 143 def onPageClose(action) self.AA ||= AdditionalActions.new self.AA.PC = action end |
#onPageInvisible(action) ⇒ Object
153 154 155 156 |
# File 'lib/origami/annotations.rb', line 153 def onPageInvisible(action) self.AA ||= AdditionalActions.new self.AA.PI = action end |
#onPageOpen(action) ⇒ Object
138 139 140 141 |
# File 'lib/origami/annotations.rb', line 138 def onPageOpen(action) self.AA ||= AdditionalActions.new self.AA.PO = action end |
#onPageVisible(action) ⇒ Object
148 149 150 151 |
# File 'lib/origami/annotations.rb', line 148 def onPageVisible(action) self.AA ||= AdditionalActions.new self.AA.PV = action end |