JavaScript Application Programming Interface (API) for AutoCAD
|
Autodesk.AutoCAD.js
function Acad.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. The signature for fn should be fn(eventname,dataItems) {,,} |
Use this function to add event listeners for the DataItemCollection class.
Copyright (c) 2014. All rights reserved.
|
What do you think about this topic? Send feedback!
|