Skip to content

Commit

Permalink
Update example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley committed Nov 8, 2018
1 parent 7ff7349 commit 80fb8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/control/fullscreen_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type Options = {
* @param {HTMLElement} [options.source] `source` is the [compatible DOM element](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen#Compatible_elements) which should be made full screen. By default, the map container element will be made full screen.
*
* @example
* map.addControl(new mapboxgl.FullscreenControl({source: 'body'}));
* map.addControl(new mapboxgl.FullscreenControl({source: document.querySelector('body')}));
* @see [View a fullscreen map](https://www.mapbox.com/mapbox-gl-js/example/fullscreen/)
*/

Expand Down

0 comments on commit 80fb8e8

Please sign in to comment.