Git Product home page Git Product logo

donate.js's Introduction

DONATE.JS

Donate.js WEB SDK to show donation alerts easily in your website.

Examples

UI UI

Installation

npm install

Development mode

npm run dev

Production mode

You can include the javascript and css file created in the dist folder in your project.

npm run build

Usage

Default initializer

DONATE.JS can be initialized through, which has default title and message those are presented in the screenshot above. theme : dark or light position : center or top

  <link rel="stylesheet" href=".donate.min.css" />
  <script src="./donate.min.js"></script>
    <script>
    const donate = new Donate({
      position:"center",
      theme:"light"
      title:"Sample Title",
      highLight:"Sample HighLight Title"
      links: [
          {
            text: "Örnek Bağış Linki",
            url: "https://www.google.com",
          },
        ],
      message:"Sample Message",
    })
    donate.init();
    </script>

donate.js's People

Contributors

srnerturk avatar emrekilicmob avatar

Stargazers

Arda K. avatar Arda Kazancı avatar  avatar Özgür Kaya avatar

Watchers

Rashid Ramazanov avatar  avatar

donate.js's Issues

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.