A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/toggle/toggle_setproperties_method/ below:

Website Navigation


JavaScript Form - setProperties Toggle Method

setProperties()

allows changing available configuration attributes of the control dynamically

setProperties(properties: object): void;

Parameters:

Example

form.getItem("toggle").setProperties({
icon: "dxi dxi-eye",
width: "100px",
padding: 20
});

It is possible to change values of the following configuration attributes of the Toggle control:

{
css: string,
width: string | number | "content",
height: string | number | "content",
padding: string | number,
full: boolean,
text: string,
icon: string,
offText: string,
offIcon: string,
value: string | number
}

You will find the description of these properties here.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4