The video is available on YouTube already. Enjoy, have a great weekend and make sure you pay a visit to my new friends at Webucator if you are looking for professional online and onsite instructor-led training classes in web- and software development.
The component is being used on this blog as well. If you have dismissed the cookie consent bar, click the button below to open show it again:
Using the Tag *
First, go to the demo page and download the sample project, then try one of the following (you need just one instance of the tag on your page).
<acidjs-xcookie-consent position="top" dismiss-button-text="Understood">
HTML Attributes of the Tag
Apart from the standard HTML attributes, the following component-specific ones are supported:
position – optional position of the cookie consent bar. By default, position is "bottom", the possible value is "top".
dismiss-button-text – optional custom text for the dismiss button. If not set, the default value is "Got it!"
Direction is also supported – you could try dir="rtl" or dir="ltr" (default).
show() – to programmatically show the cookie consent bar. Calling this method will, however not delete the _acidjs_xcookie_consent_dismissed cookie.
hide() – to programmatically hide the cookie consent bar. This will, however not set the _acidjs_xcookie_consent_dismissed cookie. Cookie will be set only if user clicks the button to dismiss the message.