Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

use_and

Reactive AND condition.

Demo

Usage

use leptos::prelude::*;
use leptos_use_math::use_and;

#[component]
fn Demo() -> impl IntoView {
let (a, set_a) = signal(true);
let (b, set_b) = signal(false);

let a_and_b = use_and(a, b);

view! { }
}

Installation

cargo add leptos-use-math

Source

Source • Demo • Docs