cytoplasmic
    Preparing search index...

    Function ariaBool

    • Utilitiy cell that emits the strings "true" and "false" depending on whether the input cell's value is true or false.

      Parameters

      • p: any

      Returns Cell<"true" | "false">

      const selected = cell(true);

      <div aria-selected={ariaBool(selected)}/>