Skip to main content

HtmlEditorVariablesBuilder Members

Provides methods that allow you to configure nested options of the client-side variables object.

Constructors

Name Description
HtmlEditorVariablesBuilder(OptionsOwnerContext) For internal use only. Initializes a new HtmlEditorVariablesBuilder class instance.

Methods

Name Description
DataSource(JS) Specifies a collection of variables available for a user. Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds variables to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds variables to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds variables to read-only data in JSON format.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
EscapeChar(JS) Specifies the special character(s) that should surround the variables. Mirrors the client-side escapeChar option.
EscapeChar(IEnumerable<String>) Specifies the special character(s) that should surround the variables. Mirrors the client-side escapeChar option.
EscapeChar(String)
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also