Compare API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
boundary | string | "viewport" | Constrains the tooltip position. Accepts 'viewport', 'parent', or a CSS selector such as #js-bubbleparent. |
color | string | "default" | Color of the bubble and tooltip. |
label | html | — | Tooltip label content. Note: content is not sanitized — sanitize it in your application to prevent XSS. |
percent | integer | 0 | Percentage position of the bubble along the slider. |
placement | "top" | "bottom" | "top" | Placement of the label relative to the bubble. |
type | "base" | — | Type of label style. |
distance | "small" | — | Distance of the base-type label from the slider line. |