Tooltip widget builder. First child is the target, second is tooltip content.
pub fn build(tt: Tooltip) -> node.Node
Build the tooltip into a renderable Node.
pub fn delay(tt: Tooltip, d: Int) -> Tooltip
Set the delay in milliseconds.
pub fn gap(tt: Tooltip, g: Float) -> Tooltip
Set the gap between elements.
pub fn new(id: String, tip: String) -> Tooltip
Create a new tooltip builder.
pub fn snap_within_viewport(
tt: Tooltip,
enabled: Bool,
) -> Tooltip
Set whether the tooltip snaps to the viewport.