dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Functions
FilterFunction Class
Function can be defined to help filter template items within the widget. A custom function can be used to aid when searching for templates. It takes a function which passes in an object containing a name property of the template item. The function should take in a single parameter, `filterName`, and return a boolean value.
public record FilterFunction : System.IEquatable<dymaptic.GeoBlazor.Core.Functions.FilterFunction>
Inheritance System.Object 🡒 FilterFunction
Implements System.IEquatable<FilterFunction>
Remarks
You may reference the following input parameters by name in your JavaScript: filterName.
Constructors
FilterFunction(string) Constructor
Function can be defined to help filter template items within the widget. A custom function can be used to aid when searching for templates. It takes a function which passes in an object containing a name property of the template item. The function should take in a single parameter, `filterName`, and return a boolean value.
public FilterFunction(string JavaScriptFunction);
Parameters
JavaScriptFunction
System.String
The JavaScript function to call, passed as a string.
Remarks
You may reference the following input parameters by name in your JavaScript: filterName.
Properties
FilterFunction.JavaScriptFunction Property
The JavaScript function to call, passed as a string.
public string JavaScriptFunction { get; init; }