Tooltip Class

Represents a tooltip that appears when the user hovers over an element that has the tooltip encased in it.
For more information, visit the documentation.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class Tooltip : BlazorBootstrapComponentBase
Inheritance
Object    ComponentBase    BlazorBootstrapComponentBase    Tooltip

Remarks

We're not using HTML templates for the tooltip, because this is a known angle of attack for XSS attacks.
Officially this is patched, but we're not taking any chances.
For more information, see

Constructors

TooltipInitializes a new instance of the Tooltip class

Properties

ChildContent Gets or sets the content to be rendered within the component.
Color Gets or sets the tooltip color.
Placement Gets or sets the tooltip placement.
Title Displays informative text when users hover, focus, or tap an element.

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also