Name | Type | Default | Description |
ClickMode | ClickMode | ClickMode.Release | Specifies how the element responds to user click interactions, such as triggering specific actions, toggling states, or initiating custom event handling based on the selected mode. |
Content | object | "" | Specifies the inner content of the element, such as text, HTML, or child elements, determining what is displayed inside the element on the web page. |
Disabled | bool | false | Determines whether the button is interactive. When enabled ('true'), users can click and interact with the button. When disabled ('false'), the button appears inactive and does not respond to user actions. |
InnerHTML | string | "" | Updates the contents of the element by setting its inner HTML to the specified value. This replaces all existing child elements and text within the element with the provided HTML markup. Use caution when inserting user-generated content to avoid security risks such as cross-site scripting (XSS). |
UnlockKey | string | "" | Handles the retrieval or assignment of the 'unlockKey', a unique value required to authorize and unlock access to the product's features or content. |
Locale | string | "en" | Specifies the language code to use for retrieving or displaying messages. When set, it determines which localized message set from the messages property is used. Getting this property returns the current language code. Typically used for enabling multi-language support within the application. |
Messages | object | N/A | Defines or retrieves an object containing localized strings for the widget's user interface. This property allows you to customize text displayed by the widget for different languages and regions, and works in conjunction with the locale property to ensure proper localization. |
Name | string | "" | Defines or retrieves the name attribute of the element. The name attribute uniquely identifies form elements when submitting data through an HTML form, allowing the server to associate input values with their corresponding fields. This attribute is essential for processing form data correctly. |
Readonly | bool | false | If the custom element is set to readonly, users will not be able to modify its value or content through direct interaction (such as typing, selecting, or dragging). However, the element may still be focusable and its value can be changed programmatically via scripts. User-initiated actions that would normally alter its state are disabled. |
RightToLeft | bool | false | Gets or sets a value that determines whether the element's alignment supports right-to-left (RTL) text direction, which is typically used by languages such as Arabic or Hebrew. When enabled, the element is properly aligned to display content for RTL locales. |
Theme | string | "" | Specifies the visual theme applied to the element, which controls its overall appearance, including colors, fonts, and styling. This property allows you to select a predefined look and feel for the element. |
Type | string | "Reset" | Specifies or retrieves the button's type attribute, which determines the button's behavior—such as "submit" to submit a form, "reset" to reset form fields, or "button" for a general-purpose clickable button. |
Value | string | "" | Sets or retrieves the button's value attribute, which typically defines the text displayed on the button or the value submitted when the button is used in a form. |
Unfocusable | bool | false | When set to true, this property prevents the element from receiving keyboard focus, making it impossible for users to select the element using the Tab key or other navigation methods. |