Skip to content

Commit

Permalink
Generate dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 19, 2019
1 parent 21de9fd commit 190ec77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions dist/screenfull.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type EventName = 'change' | 'error';

export interface Screenfull {
/**
A boolean whether fullscreen is active.
Whether fullscreen is active.
*/
readonly isFullscreen: boolean;

Expand All @@ -21,7 +21,7 @@ export interface Screenfull {
readonly element: Element | null;

/**
A boolean whether you are allowed to enter fullscreen. If your page is inside an `<iframe>` you will need to add a `allowfullscreen` attribute (+ `webkitallowfullscreen` and `mozallowfullscreen`).
Whether you are allowed to enter fullscreen. If your page is inside an `<iframe>` you will need to add a `allowfullscreen` attribute (+ `webkitallowfullscreen` and `mozallowfullscreen`).
*/
readonly enabled: boolean;

Expand All @@ -38,21 +38,21 @@ export interface Screenfull {
Keep in mind that the browser will only enter fullscreen when initiated by user events like click, touch, key.
@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a decendant.
@returns Resolves after the element enters fullscreen.
@returns A promise that resolves after the element enters fullscreen.
*/
request(element?: Element): Promise<void>;

/**
Brings you out of fullscreen.
@returns Resolves after the element exits fullscreen.
@returns A promise that resolves after the element exits fullscreen.
*/
exit(): Promise<void>;

/**
Requests fullscreen if not active, otherwise exits.
@returns Resolves after the element enters/exits fullscreen.
@returns A promise that resolves after the element enters/exits fullscreen.
*/
toggle(element?: Element): Promise<void>;

Expand Down
2 changes: 1 addition & 1 deletion dist/screenfull.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* screenfull
* v4.0.1 - 2019-03-19
* v4.1.0 - 2019-03-19
* (c) Sindre Sorhus; MIT License
*/
(function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/screenfull.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 190ec77

Please sign in to comment.