UNPKG
@fluentui/dom-utilities
Version:
beta (2.0.0-beta.2)
latest (2.3.10)
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.16
2.2.15
2.2.14
2.2.13
2.2.12
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0-beta.2
2.0.0-beta.1
2.0.0-beta.0
1.1.2
1.1.1
1.1.0
DOM utilities for use within Fluent web components
github.com/microsoft/fluentui
microsoft/fluentui
@fluentui/dom-utilities
/
lib-amd
/
setVirtualParent.d.ts
8 lines
(7 loc)
•
225 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Sets the virtual parent of an element. * Pass `undefined` as the `parent` to clear the virtual parent. * *
@public
*/
export
declare
function
setVirtualParent
(
child: HTMLElement, parent: HTMLElement |
null
):
void
;