Skip to main content

Description

Checks a cookie to determine whether to show the content and sets the cookie when an event is triggered

Usage

as element:
<widget:tutorial
       cookie="{string}"
       [event="{string}"]
       [delete="{string}"]>
</widget:tutorial>

Directive info

  • This directive creates new scope.

Parameters

ParamTypeDetails
cookiestringThe name of the cookie to check and set
event (optional)stringThe name of the event to set the cookie. Defaults to cookie attribute _set
delete (optional)stringThe name of the event to delete the cookie. Defaults to cookie attribute '_delete'