Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.
Seb edited this page Aug 16, 2014 · 6 revisions

Event system

Rows

# residues
@msa.on "residue:click", (data) ->
@msa.on "residue:mouseover", (data) ->
@msa.on "residue:mouseout", (data) ->

data consists of

colPos: 
rowPos:
container: div container of the event

Rows

# rows (click done by the label)
@msa.on "row:click", (data) ->
@msa.on "row:mouseover", (data) ->
@msa.on "row:mouseout", (data) ->

Columns

# click done by the
@msa.on "column:click", (data) ->
@msa.on "column:mouseover", (data) ->
@msa.on "column:mouseout", (data) ->

Sequence events

@msa.on "seq:add" # data = sequence object

Further events

@msa.on "redraw"
Clone this wiki locally