From 021d553e45e29ca57a0215fa661352bf04c87bb2 Mon Sep 17 00:00:00 2001 From: Juan Edi Date: Thu, 20 May 2021 19:25:31 -0300 Subject: [PATCH] Add docs for withoutTail --- src/Nri/Ui/Tooltip/V2.elm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Nri/Ui/Tooltip/V2.elm b/src/Nri/Ui/Tooltip/V2.elm index 8b74cd15..4485448a 100644 --- a/src/Nri/Ui/Tooltip/V2.elm +++ b/src/Nri/Ui/Tooltip/V2.elm @@ -172,6 +172,12 @@ type Alignment | End Px +{-| Makes it so that the tooltip does not have a tail! + +This will center the tooltip relative to the trigger content, superseding any +custom alignment set by `alignStart` and `alignEnd`. + +-} withoutTail : Attribute msg withoutTail = Attribute (\config -> { config | tail = WithoutTail })