Variable DetailsConst

Details: any = DetailsInteractor

Call this InteractorConstructor to initialize a details Interactor. Which locates details tags by their summary.

await Details('Show more').toggle();
await Details('Show more').is({ open: true });
  • open: boolean – Whether the details tag is open
  • visible: boolean – Filter by visibility. Defaults to true. See isVisible.
  • toggle(): Interaction – show/hide the details