Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/angular/src/content/en/components/overlay.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ In the below demo, we can pass the [IgxCard](/card#angular-card-example) compone

The <ApiLink type="OverlayService" member="attach" label="attach()" /> method also accepts an object of the <ApiLink type="OverlaySettings" kind="interface" /> type, which configures the way the content is shown. If no such object is provided, the Overlay Service will use its default settings to render the passed content.

For example, if we want the content to be positioned relative to an element, we can pass a different <ApiLink kind="interface" type="OverlaySettings" member="target" /> and <ApiLink kind="interface" type="OverlaySettings" member="positioningStrategy" /> to the <ApiLink type="OverlayService" member="attach" label="attach()" /> method, e.g. <ApiLink type="ConnectedPositioningStrategy" />. In order to configure how the component is shown, we need to create an <ApiLink type="OverlaySettings" kind="interface" /> object first:
For example, if we want the content to be positioned relative to an element, we can pass a different <ApiLink kind="interface" type="OverlaySettings" member="target" /> and <ApiLink kind="interface" type="OverlaySettings" member="positionStrategy" /> to the <ApiLink type="OverlayService" member="attach" label="attach()" /> method, e.g. <ApiLink type="ConnectedPositioningStrategy" />. In order to configure how the component is shown, we need to create an <ApiLink type="OverlaySettings" kind="interface" /> object first:

```typescript
// my-overlay-component.component.ts
Expand Down
Loading