๐Ÿ“ฆ ionic-team / ionic-docs

๐Ÿ“„ note.md ยท 75 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75---
title: 'ion-note'
---

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

<head>
  <title>ion-note: Note Text Elements for iOS and Android Ionic Apps</title>
  <meta
    name="description"
    content="ion-notes are text elements generally used as subtitles that provide more information. Learn how notes can be used and styled on iOS and Android Ionic apps."
  />
</head>

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

<EncapsulationPill type="shadow" />

Notes are text elements generally used as subtitles that provide more information. They are styled to appear grey by default. Notes can be used in an item as metadata text.

## Basic Usage

import Basic from '@site/static/usage/v7/note/basic/index.md';

<Basic />

## Item Notes

import Item from '@site/static/usage/v7/note/item/index.md';

<Item />

## Theming

### Colors

import Colors from '@site/static/usage/v7/note/theming/colors/index.md';

<Colors />

### CSS Custom Properties

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

<CSSProps />

## Properties

<Props />

## Events

<Events />

## Methods

<Methods />

## CSS Shadow Parts

<Parts />

## CSS Custom Properties

<CustomProps />

## Slots

<Slots />