JSCallbackDescriptor structure
Descriptor for a callback not associated with an object property, for example a constructor callback or standalone function callback. Enables passing a data object via the callback args data.
C#
public struct JSCallbackDescriptorPublic Members
| name | description |
|---|---|
| JSCallbackDescriptor(…) | (2 constructors) |
| Callback { get; } | Gets the callback that handles invocations from JavaScript. |
| Data { get; } | Gets the optional data object that will be passed to the callback via Data. |
| Name { get; } | Gets the name of the callback, for debugging purposes. |
| implicit operator |