Skip to content

Commit 8f0adf4

Browse files
committed
chore: add more comments
1 parent b5fd75b commit 8f0adf4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

core/src/components.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ export namespace Components {
763763
*/
764764
"color"?: Color;
765765
/**
766-
* To place a FAB or other fixed content before the main page content in the DOM, set this property to `beforeContent`.
766+
* Controls where the fixed content is placed relative to the main content in the DOM. This can be used to control the order in which fixed elements receive keyboard focus. For example, if a FAB in the fixed slot should receive keyboard focus before the main page content, set this property to `'beforeContent'`.
767767
*/
768768
"fixedSlotPlacement": 'afterContent' | 'beforeContent';
769769
/**
@@ -5483,7 +5483,7 @@ declare namespace LocalJSX {
54835483
*/
54845484
"color"?: Color;
54855485
/**
5486-
* To place a FAB or other fixed content before the main page content in the DOM, set this property to `beforeContent`.
5486+
* Controls where the fixed content is placed relative to the main content in the DOM. This can be used to control the order in which fixed elements receive keyboard focus. For example, if a FAB in the fixed slot should receive keyboard focus before the main page content, set this property to `'beforeContent'`.
54875487
*/
54885488
"fixedSlotPlacement"?: 'afterContent' | 'beforeContent';
54895489
/**

core/src/components/content/content.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,11 @@ export class Content implements ComponentInterface {
7676
@Prop() fullscreen = false;
7777

7878
/**
79-
* To place a FAB or other fixed content before the main page content in the
80-
* DOM, set this property to `beforeContent`.
79+
* Controls where the fixed content is placed relative to the main content
80+
* in the DOM. This can be used to control the order in which fixed elements
81+
* receive keyboard focus.
82+
* For example, if a FAB in the fixed slot should receive keyboard focus before
83+
* the main page content, set this property to `'beforeContent'`.
8184
*/
8285
@Prop() fixedSlotPlacement: 'afterContent' | 'beforeContent' = 'afterContent';
8386

0 commit comments

Comments
 (0)