[{"name":"Ui.Pagination","comment":" Defines a Pagination component\n\n\n## Types\n\n@docs Model\n\n\n## Model\n\n@docs init, currentPage, previousPage, nextPage, setPage, getTail, getInitial\n\n\n## Views\n\n@docs view, customView\n\n","unions":[{"name":"Model","comment":" The Pagination model\n","args":[],"cases":[]}],"aliases":[],"values":[{"name":"currentPage","comment":" Returns the current page number\n","type":"Ui.Pagination.Model -> Basics.Int"},{"name":"customView","comment":" Returns a custom view of a pagination component.\nOnly use this when `view` is not enough.\n","type":"List.List (Html.Styled.Attribute Basics.Never) -> Ui.Pagination.Model -> { siblingCount : Basics.Int, boundaryCount : Basics.Int, onNav : Ui.Pagination.Model -> msg } -> Accessibility.Styled.Html msg"},{"name":"getInitial","comment":" Return the left range [1,current page - 1] of the current page\n","type":"Ui.Pagination.Model -> List.List Basics.Int"},{"name":"getTail","comment":" Return the right range [current page + 1, number of pages] of the current page\n","type":"Ui.Pagination.Model -> List.List Basics.Int"},{"name":"init","comment":" Creates a model for the component\n","type":"Basics.Int -> Basics.Int -> Result.Result String.String Ui.Pagination.Model"},{"name":"nextPage","comment":" Go to the next page\n","type":"Ui.Pagination.Model -> Maybe.Maybe Ui.Pagination.Model"},{"name":"previousPage","comment":" Go to the previous page\n","type":"Ui.Pagination.Model -> Maybe.Maybe Ui.Pagination.Model"},{"name":"setPage","comment":" Set the current page\n","type":"Ui.Pagination.Model -> Basics.Int -> Maybe.Maybe Ui.Pagination.Model"},{"name":"view","comment":" Returns a view of a pagination component.\nThis should be used whenever possible.\nYou can use `customView` if you need to\ncustomize the button.\n","type":"Ui.Pagination.Model -> { siblingCount : Basics.Int, boundaryCount : Basics.Int, onNav : Ui.Pagination.Model -> msg } -> Accessibility.Styled.Html msg"}],"binops":[]},{"name":"Ui.RadioButton","comment":" Defines a RadioButton component\n\n\n## Types\n\n@docs Direction\n\n\n## Views\n\n@docs view, customView\n\n","unions":[{"name":"Direction","comment":" Defines the Direction\n","args":[],"cases":[["Horizontal",[]],["Vertical",[]]]}],"aliases":[],"values":[{"name":"customView","comment":" Returns a custom view of a radio button group.\nOnly use this when `view` is not enough.\n","type":"List.List (Html.Attribute Basics.Never) -> { onChange : a -> msg, options : List.List { optionLabel : String.String, value : a, disabled : Basics.Bool }, label : String.String, selected : Maybe.Maybe a, direction : Ui.RadioButton.Direction } -> Accessibility.Styled.Html msg"},{"name":"view","comment":" Return a view of a radio button group.\nThis should be used whenever possible.\nYou can use `customView` if you need to\ncustomize the button.\n","type":"{ onChange : a -> msg, options : List.List { optionLabel : String.String, value : a, disabled : Basics.Bool }, label : String.String, selected : Maybe.Maybe a, direction : Ui.RadioButton.Direction } -> Accessibility.Styled.Html msg"}],"binops":[]}]