-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manually open the preferences modal #3
Comments
Hello, glad you're finding the library useful! The CookieConsentService is part of the dependency container, so you can simply inject it where required e.g. with the |
Hi, Thank you for the fast reply! I got it working! And what about the "Show cookie policy" link? Now it links to nowhere. Can I assign a link to it? Or delete that link? Thanks again |
Hi, glad it's working! You can change the cookie policy link with the options: The options are configured inside the |
Hi, Thanks for the fast reposonse! It's working great! |
No problem. May I ask how you found this library? |
Hi, I found it through a Reddit-post after a Google search for cookie consent in Blazor. |
Hi,
Thank you for this library, it's amazing! I just have a question regarding the manually opening of the preferences modal. It requires a "CookieConsentService" object, which can be declared with a new statement. This new statement requires IJSRuntime which can be injected, but I don't seem to be able to figure out how I should declare the options tag. Could you add an examle of this to the readme please?
Thanks!
The text was updated successfully, but these errors were encountered: