Skip to content

Commit

Permalink
Reword text about navigator.share being undefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiuca committed Sep 29, 2016
1 parent c9eb780 commit 50e6231
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ modes, but not learn the identity of the chosen application):
* The data could not be delivered to the target app (e.g., the chosen app could
not be launched), or the target app explicitly rejected the share event.

The `navigator.share` method should be `undefined` if the user agent does not
support any share targets.
In a user agent that will never provide any share targets (e.g., on a platform
that does not support sharing) `navigator.share` SHOULD be `undefined`, so that
sites can use feature detection to avoid showing sharing UI.

## Share handlers

Expand Down

0 comments on commit 50e6231

Please sign in to comment.