Skip to content

Latest commit

 

History

History
71 lines (43 loc) · 2.01 KB

spinner.md

File metadata and controls

71 lines (43 loc) · 2.01 KB
title
ion-spinner

import Props from '@ionic-internal/component-api/v8/spinner/props.md'; import Events from '@ionic-internal/component-api/v8/spinner/events.md'; import Methods from '@ionic-internal/component-api/v8/spinner/methods.md'; import Parts from '@ionic-internal/component-api/v8/spinner/parts.md'; import CustomProps from '@ionic-internal/component-api/v8/spinner/custom-props.mdx'; import Slots from '@ionic-internal/component-api/v8/spinner/slots.md';

<title>ion-spinner: Animated Spinner Icon Components and Properties</title>

import EncapsulationPill from '@components/page/api/EncapsulationPill';

The Spinner component provides a variety of animated SVG spinners. Spinners are visual indicators that the app is loading content or performing another process that the user needs to wait on.

Basic Usage

The default spinner is based on the mode. When the mode is ios the spinner will be "lines", and when the mode is md the spinner will be "circular". If the name property is set, then that spinner will be used instead of the mode specific spinner.

import Basic from '@site/static/usage/v8/spinner/basic/index.md';

Theming

Colors

import Colors from '@site/static/usage/v8/spinner/theming/colors/index.md';

Styling

You may use custom CSS to style the spinner. For example, you can resize the spinner by setting the width and height.

import Resizing from '@site/static/usage/v8/spinner/theming/resizing/index.md';

CSS Custom Properties

import CSSProps from '@site/static/usage/v8/spinner/theming/css-properties/index.md';

Properties

Events

Methods

CSS Shadow Parts

CSS Custom Properties

Slots