Coder Social home page Coder Social logo

Comments (6)

RyanTT avatar RyanTT commented on June 8, 2024

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 [Inject] attribute.

from bytexdigital.blazor.components.cookieconsent.

rubsy92 avatar rubsy92 commented on June 8, 2024

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

from bytexdigital.blazor.components.cookieconsent.

RyanTT avatar RyanTT commented on June 8, 2024

Hi,

glad it's working!

You can change the cookie policy link with the options:

https://github.com/BytexDigital/BytexDigital.Blazor.Components.CookieConsent/blob/master/BytexDigital.Blazor.Components.CookieConsent/CookieConsentOptions.cs#L27

The options are configured inside the AddCookieConsent lambda inside your Program.cs.

from bytexdigital.blazor.components.cookieconsent.

rubsy92 avatar rubsy92 commented on June 8, 2024

Hi,

Thanks for the fast reposonse! It's working great!

from bytexdigital.blazor.components.cookieconsent.

RyanTT avatar RyanTT commented on June 8, 2024

No problem. May I ask how you found this library?

from bytexdigital.blazor.components.cookieconsent.

rubsy92 avatar rubsy92 commented on June 8, 2024

Hi,

I found it through a Reddit-post after a Google search for cookie consent in Blazor.

from bytexdigital.blazor.components.cookieconsent.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.