create Method

Summary

Creates a new LeadEvent object.

Syntax

JavaScript Syntax
create = function(target, eventName) 
TypeScript Syntax
static create(target: any, eventName: string): LeadEvent; 

Parameters

target

The target class. Must not be null.

eventName

The event name. Must not be null or empty.

Return Value

The event object.

Remarks

eventName can be anything. The framework will use this to add custom properties to target.

Example

For an example, refer to LeadEvent.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly