You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
639 B

import * as riot from 'riot';
import TinyConsent from './src/TinyConsent.riot';
riot.register('tiny-consent', TinyConsent);
const consent = {
cookies: [{
id: 'wordpress',
name: 'wordpress_*',
content: 'Wordpress und WooCommerce nutzen Session, diese werden zum einen für den Login genutzt, aber auch für den Warenkorb.',
essential: true
},{
name: 'matamo',
content: 'test',
handleAgree: function() {
console.log('agree');
},
handleReject: function() {
console.log('reject');
}
}]
};
riot.mount('tiny-consent', consent);