@namespace Connected.Components
@inherits UIComponent

<div @attributes="CustomAttributes" class="@ContainerClass" style="@RootStyle" @onmouseenter="@HandleMouseOver" @onmouseleave="@HandleMouseOut" @onfocusin="@HandleMouseOver" @onfocusout="@HandleMouseOut" >
	@ChildContent
	@if (TooltipContent != null || string.IsNullOrEmpty(Text) == false)
	{
		<Popover Open="_isVisible" Duration="@Duration" Delay="@Delay" AnchorOrigin="@_anchorOrigin" TransformOrigin="@_transformOrigin" Class="@Classname" Paper="false">
				@if (TooltipContent != null)
				{
					@TooltipContent
				}
				else if (!String.IsNullOrEmpty(Text))
				{
					@Text
				}
		</Popover>
	}
</div>
