Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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
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.
layout: docpage title: Alerts description: Send messages to your app users permalink: /user-interface/alerts
Alerts
Send messages to your app users
When a user is working with your application, you may need to get their attention to ask them a question, remind them of something they need to do, or update them about some app process that just completed (or broke!). Apache Royale provides three components that let you get your message out, and one of them lets your app user respond.
Alerts
Information about the Alerts component will appear here
Read a tutorial about creating an Alert{:target=“_blank”)
Popups
Information about the Popups component will appear here
Snackbar
Information about the Snackbar component will appear here
Examples
Tour de Jewel{:target=“_Blank”} is not just an excellent resource for not seeing what various Royale components can do. You can also review the code for each sample online, or download it so you can study it in detail and adapt it to your project.
Tour de Jewel has examples of the three ways of alerting your app users or asking them questions:
- Alert: four examples of increasing complexity (don't miss the one in the footer!)
- Popup: modal and non-modal examples
- Snackbar: seven examples showing off how you can customize snackbar look and behavior