Skip to content

Commit 17bc83c

Browse files
authored
Fix typos
1 parent 2e420b5 commit 17bc83c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ A robust positioning service pulled from Carbon-Angular.
1717
Finds the offset of `target` relative to all other positioned elements in the DOM
1818

1919
##### `getAbsoluteOffset(target: HTMLElement): Offset`
20-
Finds the absolute page position of the element, irrespctive of any other elements
20+
Finds the absolute page position of the element, irrespective of any other elements
2121

2222
##### `findRelative(reference: HTMLElement, toPosition: HTMLElement, position: Position): AbsolutePosition`
23-
Calculates a valid `AbsolutePosition` for `toPosition` given the `reference` element and `position` paramaters. Uses `getRelativeOffset` to find the starting position.
23+
Calculates a valid `AbsolutePosition` for `toPosition` given the `reference` element and `position` parameters. Uses `getRelativeOffset` to find the starting position.
2424

2525
##### `findAbsolute(reference: HTMLElement, toPosition: HTMLElement, position: Position): AbsolutePosition`
26-
Calculates a valid `AbsolutePosition` for `toPosition` given the `reference` element and `position` paramaters. Uses `getAbsoluteOffset` to find the starting position.
26+
Calculates a valid `AbsolutePosition` for `toPosition` given the `reference` element and `position` parameters. Uses `getAbsoluteOffset` to find the starting position.
2727

2828
##### `findPosition(reference: HTMLElement, toPosition: HTMLElement, position: Position, offsetFunction = getRelativeOffset): AbsolutePosition`
2929
Helper function that can behave as `findAbsolute` or `findRelative` as needed.

0 commit comments

Comments
 (0)