Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gervang <[email protected]>
  • Loading branch information
chrisgervang committed Oct 25, 2024
1 parent 5a32240 commit b9cef03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/widgets/src/compass-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import {render} from 'preact';

interface CompassWidgetProps {
id?: string;
/**
* Widget positioning within the view. Default 'top-left'.
*/
placement?: WidgetPlacement;
/**
* View to attach to and interact with. Required when using multiple views.
Expand Down
3 changes: 3 additions & 0 deletions modules/widgets/src/fullscreen-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import {IconButton} from './components';

interface FullscreenWidgetProps {
id?: string;
/**
* Widget positioning within the view. Default 'top-left'.
*/
placement?: WidgetPlacement;
/**
* A [compatible DOM element](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen#Compatible_elements) which should be made full screen.
Expand Down

0 comments on commit b9cef03

Please sign in to comment.