Fluffy.FileChooser (Fluffy v0.1.1)

Copy Markdown View Source

A browser file chooser captured by Fluffy.Event.file_chooser/2.

The value is intentionally opaque. Pass its capture key to Fluffy.set_input_files/4; multiple?/1 exposes the one stable chooser property that is useful without leaking Playwright handles.

Summary

Functions

Returns whether the chooser accepts more than one file.

Types

t()

@opaque t()

Functions

multiple?(file_chooser)

@spec multiple?(t()) :: boolean()

Returns whether the chooser accepts more than one file.