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

Autodesk.AutoCAD.js

JavaScript
function DataItemCollection.addEventListener(eventname,fn);
Parameters 
Description 
eventname 
is the name of the event you want to register. It can be one of the events in Acad.DataItemCollection.eventname. 
fn 
is the callback that is called when the event is triggered. 

Use this function to add event listeners for the DataItemCollection class.

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