UNPKG
viewport-playground
Version:
latest (0.8.0)
0.8.0
0.7.0
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
```ts import {ViewportPlayground, enterPlayground} from 'viewport-playground'
viewport-playground
/
dist
/
component
/
utils.svelte.d.ts
10 lines
(9 loc)
•
267 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
declare
const
enterPlayground
:
() =>
void
;
export
declare
const
exitPlayground
:
() =>
void
;
export
declare
const
viewportState
: {
isActive
:
boolean
;
orientation
:
"p"
|
"l"
;
deviceId
:
string
;
wrapper
:
"iframe"
|
"div"
;
iframeUrl
:
string
; };