From 9fea4f8582a870f7a7736b380ed1b1afe16c8abf Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Tue, 17 Oct 2023 11:02:10 +0200 Subject: [PATCH] Document the customCloserId option Fix #1157 --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e1f047d4..25b7c20c 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ tarteaucitron.init({ "cookieslist": false, /* Show the cookie list */ "showIcon": true, /* Show cookie icon to manage cookies */ - // "iconSrc": "", /* Optionnal: URL or base64 encoded image */ + // "iconSrc": "", /* Optional: URL or base64 encoded image */ "iconPosition": "BottomRight", /* Position of the icon between BottomRight, BottomLeft, TopRight and TopLeft */ "adblocker": false, /* Show a Warning if an adblocker is detected */ @@ -62,12 +62,14 @@ tarteaucitron.init({ "useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */ "useExternalJs": false, /* If false, the tarteaucitron.services.js file will be loaded */ - //"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */ + // "cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */ "readmoreLink": "", /* Change the default readmore link pointing to tarteaucitron.io */ "mandatory": true, /* Show a message about mandatory cookies */ - "mandatoryCta": true /* Show the disabled accept button when mandatory on */ + "mandatoryCta": true, /* Show the disabled accept button when mandatory on */ + + // "customCloserId": "" /* Optional a11y: Custom element ID used to open the panel */ }); ```