File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -81,13 +81,13 @@ floatSidebar.destroy();
8181
8282## Options
8383
84- | Name | Type | Default | Description |
85- | :------------ | :------------ | :-------------------------- | ------------------------------------------------------------------- ---------------- |
86- | sidebar | ` HTMLElement ` | Required | The sidebar element |
87- | relative | ` HTMLElement ` | Required | The sidebar relative element, e.g. the main content |
88- | viewport | ` HTMLElement ` | ` window ` | The viewport element |
89- | sidebarInner | ` HTMLElement ` | ` sidebar.firstElementChild ` | The sidebar inner element |
90- | topSpacing | ` number ` | ` 0 ` | The space from the top of the viewport. Used when the sidebar is in fixed state. |
84+ | Name | Type | Default | Description |
85+ | :------------- | :------------- | :--------------------------- | ---------------- |
86+ | sidebar | ` HTMLElement ` | Required | The sidebar element |
87+ | relative | ` HTMLElement ` | Required | The sidebar relative element, e.g. the main content |
88+ | viewport | ` HTMLElement ` | ` window ` | The viewport element |
89+ | sidebarInner | ` HTMLElement ` | ` sidebar.firstElementChild ` | The sidebar inner element |
90+ | topSpacing | ` number ` | ` 0 ` | The space from the top of the viewport. Used when the sidebar is in fixed state. |
9191| bottomSpacing | ` number ` | ` 0 ` | The space from the bottom of the viewport. Used when the sidebar is in fixed state. |
9292
9393## Instance API
You can’t perform that action at this time.
0 commit comments