A newer version of this page is available. Switch to the current version.

jQuery Bullet - size

Specifies the UI component's size in pixels.

Type:

Object

Default Value: undefined

By default, the UI component occupies the entire area of the container. If you need to set a particular size for the UI component, different from the container's size, assign a height and width in pixels to height and width properties of the size object.

Using the size object, you can hide the UI component. For this purpose, simply assign 0 to both the height and width of the UI component.

NOTE
The size configuration object reserves space for the main UI component elements, while displaying a tooltip may require extra space. To reserve the area around the UI component for the tooltip, you can apply a margin to the UI component's container.

height

Specifies the height of the UI component in pixels.

Type:

Number

Default Value: undefined

width

Specifies the width of the UI component in pixels.

Type:

Number

Default Value: undefined