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

Autodesk.AutoCAD.js

JavaScript
function DataItemCollection.removeEventListener(eventname,fn);
Parameters 
Description 
eventname 
is the name of the event you want to unregister. 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 remove event listeners for the DataItemCollection class.

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