MCPcopy Index your code
hub / github.com/shipshapecode/tether / isFullscreenElement

Function isFullscreenElement

src/js/tether.js:35–43  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

33const TetherBase = { modules: [Constraint, Abutment, Shift] };
34
35function isFullscreenElement(e) {
36 let d = e.ownerDocument;
37 let fe =
38 d.fullscreenElement ||
39 d.webkitFullscreenElement ||
40 d.mozFullScreenElement ||
41 d.msFullscreenElement;
42 return fe === e;
43}
44
45function within(a, b, diff = 1) {
46 return a + diff >= b && b >= a - diff;

Callers 1

moveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…