JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.addEventListener Function

Autodesk.AutoCAD.js

JavaScript
function Acad.addEventListener(eventname,fn);
Parameters 
Description 
eventname 
is the event for which function fn is called. 
fn 
is a callback function, which is called when an event occurs. 

Use this function to add a callback.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!