Giter VIP home page Giter VIP logo

fast-alert's Introduction

Fast Alert

Hafif ve kullanışlı bildirim kutuları ile projeleriniz artık daha interaktif olacak.

Fast Alert Ekran Görüntüsü

Fast Alert Kullanımı

Animasyon ve göresllik için projemize css dahil ediyoruz: <link rel="stylesheet" href="fastalert.min.css"/>

Kullanışlılık ve dinamiklik açısından javascript ekliyoruz: <script src="fastalert.js"></script>

Javascript dosyasını <head></head> tagları arasına eklemeniz önerilir (Fast Alert döküman yüklendiğinde çalışır).

FastAlert Class'ı kullanımı

FastAlert class'ı uyarı vermeye yarar, 5 parametre alır;

  1. title Uyarı kutusunun başlığıdır, uyarı varildiğinde kalın bir şekilde belirtilir.
  2. desc Mesajın içeriği, başlıktan sonra bu ksım yazdırılır.
  3. type İkonlar ve renkler bu özelliğe göre belirlenir. Alabileceği değerler: (success, danger, warning, info).
  4. closeBtn Gösterilen kutunun kullanıcı tarfından kapatılıp kapatılamayacağını belirler, iki değer alabilir: (true, false).
  5. time Açılan kutunun kaç milisaniye açık kalacağı bu parametrede belirtilir.

Örnek

new FastAlert({ title: 'Başarılı', desc: 'Bu bir başarı mesajıdır.', type: 'success', closeBtn: true, time: '3500' });

fast-alert's People

Contributors

ertugrulsencer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.