font

Specifies font options for the text displayed by tooltips.

Type: Object

Show Example:
jQuery

In this example, the tooltip font options are changed.


                                    

                                    

color

Specifies a font color for the text displayed by tooltips.

Type: String
Default Value: '#232323'

This option supports the following colors.

Show Example:
jQuery

In this example, the tooltip text is colored in mediumblue.


                                    

                                    

family

Specifies a font family for the text displayed by tooltips.

Type: String
Default Value: ''Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana'

For details on acceptable values, refer to the Font family article.

Show Example:
jQuery

In this example, the tooltip font family is changed.


                                    

                                    

opacity

Specifies the opacity of the text displayed in tooltips.

Type: Number
Default Value: 1

Show Example:
jQuery

In this example, the opacity of the text displayed by tooltips is changed.


                                    

                                    

size

Specifies a font size for the text displayed by tooltips.

Type: Number|String
Default Value: 12

For details on acceptable values, refer to the Font size article.

Show Example:
jQuery

In this example, the tooltip font size is increased to 30.


                                    

                                    

weight

Specifies the font weight for the text displayed by tooltips.

Type: Number
Default Value: 400

Show Example:
jQuery

In this example, the tooltip font weight is changed to 700.