[{"name":"Popper","comment":" This module contains everything you need to use [Popper.js](https://popper.js.org/) for tooltips in your Elm code. See the README.md\nfor some additional setup needed.\n\n\n# Main Utilities\n\n@docs config, withTooltip\n\n\n# Configuration\n\n@docs withModifier, withOffset, withPlacement, withStrategy\n\n\n# Configuration Types\n\n@docs Modifier, Placement, Strategy\n\n","unions":[{"name":"Placement","comment":" The [placement](https://popper.js.org/docs/v2/constructors/#placement) configuration value.\n","args":[],"cases":[["Auto",[]],["AutoStart",[]],["AutoEnd",[]],["Top",[]],["TopStart",[]],["TopEnd",[]],["Bottom",[]],["BottomStart",[]],["BottomEnd",[]],["Right",[]],["RightStart",[]],["RightEnd",[]],["Left",[]],["LeftStart",[]],["LeftEnd",[]]]},{"name":"Strategy","comment":" The placement strategy to be used by the tooltip. The default is `Absolute`.\nAn `Absolute` tooltip will more smoothly follow the element it is attached to, but is\nmore beholden to your page layout. `Fixed` should more predictably follow the element but there\nmay be some jumpiness as popper manually moves the tooltip.\n","args":[],"cases":[["Absolute",[]],["Fixed",[]]]}],"aliases":[{"name":"Modifier","comment":" Configuration for custom modifiers to be added via `withModifier`\n","args":[],"type":"{ name : String.String, options : Maybe.Maybe Json.Encode.Value, data : Maybe.Maybe Json.Encode.Value }"}],"values":[{"name":"config","comment":" Create a configuration for your tooltip that may then be added to an html element via `withTooltip`.\nThe only required argument is the `id` attribute of the tooltip that should be referenced.\n","type":"String.String -> Popper.Config"},{"name":"withModifier","comment":" Add a custom modifier, or any modifier that may not have a helper method associated with it here.\nModifiers that you may add are [documented here](https://popper.js.org/docs/v2/modifiers/).\nModifiers have a name, and usually an `options` and/or `data` field. A good example is the `withOffset` function\n\n    withOffset ( skidding, distance ) =\n        withModifier\n            { name = \"offset\"\n            , data = Nothing\n            , options =\n                Just <|\n                    Encode.object\n                        [ ( \"offset\", Encode.list Encode.float [ skidding, distance ] )\n                        ]\n            }\n\n","type":"Popper.Modifier -> Popper.Config -> Popper.Config"},{"name":"withOffset","comment":" Adds the [offset modifier](https://popper.js.org/docs/v2/modifiers/offset/#offset-1) to the tooltip.\nThe two floats represent skidding and distance\n","type":"( Basics.Float, Basics.Float ) -> Popper.Config -> Popper.Config"},{"name":"withPlacement","comment":" Configure the [placement](https://popper.js.org/docs/v2/constructors/#placement) of the tooltip. Note that popperjs will\ndetect when your placement causes it to flow off the screen and alter the placement accordingly.\n","type":"Popper.Placement -> Popper.Config -> Popper.Config"},{"name":"withStrategy","comment":" Configure the [strategy](https://popper.js.org/docs/v2/constructors/#strategy) of the tooltip. Either fixed or absolute.\n","type":"Popper.Strategy -> Popper.Config -> Popper.Config"},{"name":"withTooltip","comment":" Add a tooltip to a piece of html\n","type":"Html.Html msg -> Popper.Config -> Html.Html msg"}],"binops":[]}]