lundi 9 février 2015

[LIB] Burnt Toast 1.0: Material Design Toasts for the Web. topic






I'm developing a web app (Elemental: a code editor for Android and Windows Phone) and needed Toasts for the project. There aren't any libraries that port Material Design Toasts to the Web so I decided to write one.

You can check out Burnt Toast on GitHub.

Burnt Toast
A free software library bringing Toasts à la Material Design to the Web.

Copyright Information




Copyright (C) 2015 Miras Absar

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.




Usage





Code:


var mBurntToast = new BurntToast();

mBurntToast.show("Hello World!", 1000);
mBurntToast.show("This is Burnt Toast!", 1000);
mBurntToast.show("Not too tasty...", 1000);










Aucun commentaire:

Enregistrer un commentaire