Skip to content

JSPropertyDescriptor.Function method

Creates a property descriptor with a method callback.

C#
public static JSPropertyDescriptor Function(string name, JSCallback method, 
    JSPropertyAttributes attributes = JSPropertyAttributes.Default, object? data = null)

See Also

Released under the MIT license