Search.../

style

Gets an object containing information about the signature input element's styles.

Description

The following styles can be used with signature inputs:

Note: Not all styles can be used on all signature designs. To determine which styles work with a specific signature design, go to the Signature Design panel in the Editor, choose a design, and click Customize Design. The design options that you see in the Signature Design panel are the styles you can use in your code.

Type:

StyleRead Only

Was this helpful?

Set the background color

Copy Code
1$w("#myElement").style.backgroundColor = "rgba(255,0,0,0.5)";
Get the background color

Copy Code
1let bgColor = $w("#myElement").style.backgroundColor;