Alloy Widget for enhanced cross-platform Toast notifications.
- download latest version as zip
- unzip under
app/widgets/toasty
$ git submodule add https://github.com/manumaticx/toasty.git app/widgets/toasty
"dependencies": {
"toasty":"1.3"
}
- different types (backgroundColor): default, confirm, alert, info
- multiple animations: fade, slide from top, slide from left, zoom in/out
- queues up messages
- very customizable: dimension, position, custom content view, etc.
Create an instance of the widget ( global reference is recommeded: Alloy.Globals.toasty
)
var toasty = Alloy.createWidget("toasty");
Show a simple toast message
toasty.show("Hello World");
Copyright 2013 Manuel Lehner Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.