You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-v7/api/input.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,22 @@ Please submit bug reports with Maskito to the [Maskito Github repository](https:
147
147
148
148
:::
149
149
150
+
## Start and End Slots (experimental)
151
+
152
+
The `start` and `end` slots can be used to place icons, buttons, or prefix/suffix text on either side of the input.
153
+
154
+
Note that this feature is considered experimental because it relies on a simulated version of [Web Component slots](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots). As a result, the simulated behavior may not exactly match the native slot behavior.
155
+
156
+
:::note
157
+
In most cases, [Icon](./icon.md) components placed in these slots should have `aria-hidden="true"`. See the [Icon accessibility docs](https://ionicframework.com/docs/api/icon#accessibility) for more information.
158
+
159
+
If slot content is meant to be interacted with, it should be wrapped in an interactive element such as a [Button](./button.md). This ensures that the content can be tabbed to.
160
+
:::
161
+
162
+
import StartEndSlots from '@site/static/usage/v7/input/start-end-slots/index.md';
0 commit comments