Last active
February 22, 2016 14:30
-
-
Save maplink-master/85590e9215d938fc452f to your computer and use it in GitHub Desktop.
MaplinkAPI Javacript Events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance.on( 'event-name', yourcallback ) | |
instance.once( 'event-name', callback ) | |
instance.off( 'event-name', callback ) | |
instance.fire( 'event-name', callback ) | |
//example using freeform | |
var instance = mplk.freeform( 'div-id' ) | |
instance.on( 'select', function( data ) { console.log( data ) } ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment