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: docs/developing/autofocus.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ title: Autofocus
4
4
5
5
<head>
6
6
<title>Autofocus</title>
7
-
<metaname="description"content="Learn how to manage focus in Ionic applications using the setFocus API instead of the autofocus attribute." />
7
+
<meta
8
+
name="description"
9
+
content="Learn how to manage focus in Ionic applications using the setFocus API instead of the autofocus attribute."
10
+
/>
8
11
</head>
9
12
10
13
Developers that want to set focus to an element on "page load" can use the `setFocus` API to set focus to an element. This API should be used in place of the `autofocus` attribute and called within the `ionViewDidEnter` lifecycle event.
0 commit comments