style


styleStyleRead-only

Gets an object containing information about the button's styles.

The following styles can be used with buttons:

Getting or setting a button's hover and disabled styles affects the button's appearance only in those respective states. All other available styles apply solely to the button's regular state.

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

Did this help?