# Close flexcard from Flyout

<figure><img src="https://3466088926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgvPO390QSjdzjyJFdm0p%2Fuploads%2FlVeWG9FtFaG3dDKnsg0i%2Fimage.png?alt=media&#x26;token=593fc5f6-342f-4ac5-a1b2-8c837ea3add7" alt=""><figcaption><p>Configure in Flyout Action</p></figcaption></figure>

<figure><img src="https://3466088926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgvPO390QSjdzjyJFdm0p%2Fuploads%2FahA6BwWgFET8IpBnnvqz%2Fimage.png?alt=media&#x26;token=065db74d-44e7-4d39-a6e4-3ede8f1d6bb1" alt=""><figcaption><p>Add the listener in the setup panel.</p></figcaption></figure>

<figure><img src="https://3466088926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgvPO390QSjdzjyJFdm0p%2Fuploads%2FU12GX7zZIRoUJMMTnhjy%2Fimage.png?alt=media&#x26;token=48173b9c-ac68-4f18-8d98-c9e6ac5890f3" alt=""><figcaption><p>Set the navigation action</p></figcaption></figure>
