You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Sent to a <keywordtag="card">card</keyword> just before it is removed from the <objecttag="stack">stack</object>.</summary>
<examples>
<example>on deleteCard <code><i>-- update a list of cards to reflect the deletion</i></code></p><p> send "updateList" to this stack in 10 ticks <code><i>-- after card is deleted</i></code></p><p> pass deleteCard</p><p>end deleteCard</example>
</examples>
<description>
<p>Handle the <b>deleteCard</b> <keywordtag="message box">message</keyword> if you want to perform cleanup before a <keywordtag="card">card</keyword> is removed from the <objecttag="stack">stack</object>.</p><p/><p><b>Comments:</b></p><p>The actual deletion is not triggered by the <b>deleteCard</b> <keywordtag="message box">message</keyword>, so <glossarytag="trap">trapping</glossary> the <keywordtag="message box">message</keyword> and not allowing it to <control_sttag="pass">pass</control_st> does not prevent the <keywordtag="card">card</keyword> from being removed.</p>