Description
Checks a cookie to determine whether to show the content and sets the cookie when an event is triggeredUsage
as element:Directive info
- This directive creates new scope.
Parameters
| Param | Type | Details |
|---|---|---|
| cookie | string | The name of the cookie to check and set |
| event (optional) | string | The name of the event to set the cookie. Defaults to cookie attribute _set |
| delete (optional) | string | The name of the event to delete the cookie. Defaults to cookie attribute '_delete' |