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).
* The message should be set between the <acidjs-xcookie-consent></acidjs-xcookie-consent> tag and HTML is supported. If no content is set, the default text will be “
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
dismiss-button-text– optional custom text for the dismiss button. If not set, the default value is
Direction is also supported – you could try
- show() – to programmatically show the cookie consent bar. Calling this method will, however not delete the
- hide() – to programmatically hide the cookie consent bar. This will, however not set the
_acidjs_xcookie_consent_dismissedcookie. Cookie will be set only if user clicks the button to dismiss the message.