module Origami::Annotation::Triggerable
Constants
- Bl
- D
- E
- Fo
- PC
- PI
- PO
- PV
- U
- X
Public Instance Methods
onBlur(action)
click to toggle source
# File lib/origami/annotations.rb, line 119 def onBlur(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.Bl = action end
onFocus(action)
click to toggle source
# File lib/origami/annotations.rb, line 110 def onFocus(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.Fo = action end
onMouseDown(action)
click to toggle source
# File lib/origami/annotations.rb, line 92 def onMouseDown(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.D = action end
onMouseOut(action)
click to toggle source
# File lib/origami/annotations.rb, line 83 def onMouseOut(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.X = action end
onMouseOver(action)
click to toggle source
# File lib/origami/annotations.rb, line 74 def onMouseOver(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.E = action end
onMouseUp(action)
click to toggle source
# File lib/origami/annotations.rb, line 101 def onMouseUp(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.U = action end
onPageClose(action)
click to toggle source
# File lib/origami/annotations.rb, line 137 def onPageClose(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.PC = action end
onPageInvisible(action)
click to toggle source
# File lib/origami/annotations.rb, line 155 def onPageInvisible(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.PI = action end
onPageOpen(action)
click to toggle source
# File lib/origami/annotations.rb, line 128 def onPageOpen(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.PO = action end
onPageVisible(action)
click to toggle source
# File lib/origami/annotations.rb, line 146 def onPageVisible(action) unless action.is_a?(Action) or action.is_a?(Reference) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.PV = action end