lampclaw/minimoon_ui/headless does not have a README file

    Bounds

    pub(all) struct Bounds {
    left : Double
    top : Double
    width : Double
    height : Double
    } derive(Eq,
    Debug
    )

    CalendarDate

    pub struct CalendarDate {
    year : Int
    month : Int
    day : Int
    } derive(Eq,
    Debug
    )

    Gregorian date algorithms adapted from RUI calendar.mbt at b1291945. MIT; see the module THIRD_PARTY_NOTICES.md.

    CalendarDate::add_days

    fn CalendarDate::add_days(self : CalendarDate, delta : Int) -> CalendarDate

    CalendarDate::add_months

    fn CalendarDate::add_months(self : CalendarDate, delta : Int) -> CalendarDate

    CalendarDate::iso

    fn CalendarDate::iso(self : CalendarDate) -> String

    CalendarDate::ordinal

    fn CalendarDate::ordinal(self : CalendarDate) -> Int

    CalendarDate::weekday

    fn CalendarDate::weekday(self : CalendarDate) -> Int

    DateSelection

    pub(all) enum DateSelection {
    Single(CalendarDate?)
    Multiple(Array[CalendarDate])
    Range(CalendarDate?, CalendarDate?)
    } derive(Eq,
    Debug
    )

    DateSelection::choose

    DateSelection::contains

    fn DateSelection::contains(self : DateSelection, date : CalendarDate) -> Bool

    Placement

    pub(all) enum Placement {
    BottomStart
    BottomCenter
    BottomEnd
    TopStart
    TopCenter
    TopEnd
    LeftStart
    LeftCenter
    LeftEnd
    RightStart
    RightCenter
    RightEnd
    } derive(Eq,
    Debug
    )

    SliderSpec

    pub struct SliderSpec {
    min : Int
    max : Int
    step : Int
    min_steps_between : Int
    } derive(Eq,
    Debug
    )

    RUI multi-thumb normalization adapted for native touch input (MIT).

    SliderSpec::fraction

    fn SliderSpec::fraction(self : SliderSpec, value : Int) -> Double

    SliderSpec::nearest

    fn SliderSpec::nearest(self : SliderSpec, values : Array[Int], value : Double) -> Int

    SliderSpec::normalize

    fn SliderSpec::normalize(self : SliderSpec, values : Array[Int]) -> Array[Int]

    SliderSpec::snap

    fn SliderSpec::snap(self : SliderSpec, value : Double) -> Int

    SliderSpec::update

    fn SliderSpec::update(self : SliderSpec, values : Array[Int], index : Int, value : Double) -> Array[Int]

    calendar_date

    fn calendar_date(year~ : Int, month~ : Int, day~ : Int) -> CalendarDate

    days_in_month

    fn days_in_month(year : Int, month : Int) -> Int

    page_count

    fn page_count(total : Int, page_size : Int) -> Int

    place

    fn place(anchor : Bounds, surface : Bounds, viewport : Bounds, placement : Placement, gap? : Double, align_offset? : Double) -> Bounds

    Flip on the main axis, then shift inside the measured viewport.

    resize_pair

    fn resize_pair(sizes : Array[Double], index : Int, delta : Double, minimums : Array[Double], maximums : Array[Double]) -> Array[Double]

    Resize one adjacent pair without changing total size or unrelated panes.

    slider_spec

    fn slider_spec(min? : Int, max? : Int, step? : Int, min_steps_between? : Int) -> SliderSpec

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io