mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
flip the menu direction to top if menu's height is bigger than the parent offset
This commit is contained in:
parent
43b3029d50
commit
f12dc707a6
6 changed files with 40 additions and 2 deletions
6
types/DataTable/DataTable.svelte.d.ts
vendored
6
types/DataTable/DataTable.svelte.d.ts
vendored
|
@ -176,6 +176,12 @@ export interface DataTableProps
|
|||
* @default 0
|
||||
*/
|
||||
page?: number;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the TableContainer Div HTML element
|
||||
* @type {null | HTMLDivElement}
|
||||
*/
|
||||
tref?: null | HTMLDivElement;
|
||||
}
|
||||
|
||||
export default class DataTable extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue