blob: 7509b8110a63da61226f1559bf32573dfb4aac64 [file] [view]
---
# 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
#
# 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.
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](https://royale.apache.org/using-jewel-alert-control/){:target="_blank")
## Popups
_Information about the Popups component will appear here_
## Snackbar
_Information about the Snackbar component will appear here_
## Examples
[Tour de Jewel](https://royale.apache.org/tourdejewel/#){: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