Skip to content

Commit

Permalink
some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lenadax committed Nov 7, 2024
1 parent be210de commit 5814dd1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/src/bootstrap5/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ export class BS5LocationWidgetMarker {

/**
* Creates a new marker at the specified latitude and longitude.
*
* @param {BS5LocationWidget} widget - The location widget to which this
* marker belongs.
* marker belongs.
* @param {number} lat - The latitude of the marker.
* @param {number} lon - The longitude of the marker.
*/
Expand All @@ -29,6 +30,7 @@ export class BS5LocationWidgetMarker {
/**
* Handles the drag end event of the marker, updating the widget's
* latitude and longitude.
*
* @param {Event} evt - The dragend event.
*/
dragend_handle(evt) {
Expand All @@ -43,6 +45,8 @@ export class BS5LocationWidgetMarker {
export class BS5LocationWidget extends LocationWidget {

/**
* Initializes each widget in the given DOM context.
*
* @param {jQuery} context - DOM context for initialization.
*/
static initialize(context) {
Expand All @@ -61,6 +65,7 @@ export class BS5LocationWidget extends LocationWidget {

/**
* Creates a new location marker at the specified latitude and longitude.
*
* @param {number} lat - The latitude of the marker.
* @param {number} lon - The longitude of the marker.
* @returns {BS5LocationWidgetMarker} - The newly created marker.
Expand Down

0 comments on commit 5814dd1

Please sign in to comment.