Skip to content

Toggle Box

Aleksandar Kamenov edited this page Jan 29, 2018 · 17 revisions

Description

Toggle Box is a toggable container.

User Stories

As an end user, I want to:

  • open the Toggle Box.
  • interact with it the content in it.
  • close it.

User Interface

As a developer, I want to:

  • allow the user to open it, interact with it and close it.
  • apply animation.

Acceptance criteria

The Toggle Box should provide intuitive defaults which allow end users to:

  1. Open it.
  2. Interact with it.
  3. Close it.

Limitations:

Following the https://material.io/guidelines/components/buttons.html#buttons-dropdown-buttons

API

  • Events
    • onOpen
    • onClose
  • Methods
    • open
    • close
  • Inputs
    • isLoadedOpen
Clone this wiki locally