Skip to content

A jQuery plugin for chrome packaged apps that creates a simple, customizable and functional window bar.

License

Notifications You must be signed in to change notification settings

carlelieser/windowBar-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windowBar.js

A jQuery plugin for chrome packaged apps that creates a simple, customizable and functional window bar.

Example

See test for a complete chrome packaged app showcasing windowBar.js

Link CSS

<link type="text/css" rel="stylesheet" href="windowBar.css"/>

Link Plugin

<!-- load jQuery first -->
<script src="jquery-2.2.1.min.js"></script>
<script src="windowBar.js"></script>
<script src="windowBarTest.js"></script>

Initialize windowBar in app script

$('.example-wrapper').initializeWindowBar();

Options

Color

Enter a hexadecimal value as a string to change the color of the window bar. If no hexadecimal is set, the color of the window bar will be set to #FFFFFF. The color of the icons will change accordingly.

$('.example-wrapper').initializeWindowBar('#526262');

License

Copyright (c) 2016 Carlos Santos. See the LICENSE file for license rights and limitations (MIT).

About

A jQuery plugin for chrome packaged apps that creates a simple, customizable and functional window bar.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published