All Projects → kunalnagar → jquery.peekABar

kunalnagar / jquery.peekABar

Licence: other
jQuery plugin for a Notification Bar

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to jquery.peekABar

SplitShare
Shamir's Secret Sharing Algorithm implementation in golang combined with PGP and a mail delivery system
Stars: ✭ 31 (-47.46%)
Mutual labels:  notification
PushNotifications
Push Notification using Embarcadero Rad Studio Tokyo 10.2.3 on Android and Apple Devices written in C++ and Delphi
Stars: ✭ 12 (-79.66%)
Mutual labels:  notification
laravel-notification-settings
🔒 A Laravel package that allows you to check the notification settings before send them.
Stars: ✭ 28 (-52.54%)
Mutual labels:  notification
readingbar
A simple progress bar that indicates the length & your current reading position of an article/page
Stars: ✭ 19 (-67.8%)
Mutual labels:  jquery-plugin
shoppers
Flutter E-Commerce App using Firebase, Razorpay and Stripe
Stars: ✭ 94 (+59.32%)
Mutual labels:  notification
jquery-accessible-simple-tooltip-aria
jQuery accessible simple tooltip window, using ARIA
Stars: ✭ 22 (-62.71%)
Mutual labels:  jquery-plugin
x-notification
Declarative Browser Notification as Web Components.
Stars: ✭ 37 (-37.29%)
Mutual labels:  notification
A-SOUL-Notification
一个A-SOUL成员动态/直播提醒插件,支持监控B站与抖音动态,可在Windows10 - Windows11系统上运行。
Stars: ✭ 56 (-5.08%)
Mutual labels:  notification
react-notification-alert
React bootstrap 4 notification alert
Stars: ✭ 34 (-42.37%)
Mutual labels:  notification
growl-alert
A simple growl like notification system.
Stars: ✭ 14 (-76.27%)
Mutual labels:  notification
Hashtegny
jQuery Plugin aggregates hashtags from different social media networks. Posts are displayed in a unique, & attractive grid, and animated layout.
Stars: ✭ 52 (-11.86%)
Mutual labels:  jquery-plugin
ripple-effect-click
Add ripple effect to any element you want when the click action happens ("ripple effect")
Stars: ✭ 15 (-74.58%)
Mutual labels:  jquery-plugin
jquery-google-reviews
simple jquery Plugin that utilizes Google API to get data from a Place on Google Maps
Stars: ✭ 33 (-44.07%)
Mutual labels:  jquery-plugin
mac-notification-sys
✉️ A simple wrapper to deliver or schedule macOS Notifications in Rust
Stars: ✭ 73 (+23.73%)
Mutual labels:  notification
rellax
jQuery Rellax Plugin - Parallax awesomeness
Stars: ✭ 14 (-76.27%)
Mutual labels:  jquery-plugin
vidbacking
vidbacking is a jQuery plugin to create HTML5 / Youtube video as background on webpage with fallback image support. It supports mp4 and webm files as well as Youtube video.
Stars: ✭ 55 (-6.78%)
Mutual labels:  jquery-plugin
wxpusher-sdk-python
微信消息实时推送服务[WxPusher]的Python版本sdk,可以通过API实时给个人微信推送消息。wechat pusher.
Stars: ✭ 156 (+164.41%)
Mutual labels:  notification
jquery-bindings
Simple two-way data binding using proxies and requestIdleCallback
Stars: ✭ 17 (-71.19%)
Mutual labels:  jquery-plugin
ajxnetcore
Its an innovative method to turn an ASP.NET Core Application Into Single Page Application, While enhancing the Software performance both on server and client side.
Stars: ✭ 31 (-47.46%)
Mutual labels:  jquery-plugin
Timespace
A jQuery plugin to handle displaying of time events
Stars: ✭ 27 (-54.24%)
Mutual labels:  jquery-plugin

jquery.peekABar

npm version

A jQuery plugin for a notification bar with customization options.

Important Note

We have stopped supporting bower as a package manager since v3.0.0.

Installation

npm install jquery-peek-a-bar --save

Options

html

Use custom HTML as bar text.

Type: String Default: Your Message Here

autohide

Autohide the bar after it is shown.

Type: Boolean Default: false

delay

Time (in ms) before the bar is hidden if autohide is true.

Type: Number Default: 3000

padding

Add some padding to the bar.

Type: String Default: 1em

backgroundColor

Add a custom background color to the bar.

Type: String Default: rgb(195, 195, 195)

animation

The way in which the bar reveals itself.

Type: Object Example:

animation: {
    type: 'slide/fade',
    duration: 'slow/3000(in ms)'
}

cssClass

Assign a Custom CSS class to the bar. Overrides ALL styles passed as options. For e.g. padding, backgroundColor etc.

Type: String Default: empty

opacity

Change bar opacity.

Type: Number Default: 1

position

Where should the bar be revealed? Top or bottom of the page?

Type: String Default: top Values: top | bottom

closeOnClick

Close the bar by clicking on it.

Type: Boolean Default: false

Event Methods

onShow

Called after the bar is shown.

onHide

Called after the bar is hidden.

Instance Methods

bar.show()

Show the bar.

bar.hide()

Hide the bar.

Example

Please check out the complete example below:

// Create a bar
var bar = $.peekABar({
    html: 'Custom Message',
    delay: 2000,
    autohide: true,
    padding: '2em',
    backgroundColor: 'rgb(195, 195, 195)',
    animation: {
        type: 'fade',
        duration: '2000'
    },
    opacity: '0.8',
    cssClass: 'custom-class',
    position: 'bottom',
    closeOnClick: true
    onShow: function() {
        console.log('called after bar is shown');
    },
    onHide: function() {
        console.log('called after bar is hidden');
    }
});

// Show the bar
bar.show();

// Hide the bar
bar.hide();

// Show the bar with custom HTML
// This call will override the HTML
// set in any previous definitions.
bar.show({
    html: 'Overrides all, puny human.'
});

Support

For any issues/queries, please open a new Github Issue.

Share

If you like the plugin, please share it with your friends!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].