Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions packages/a11y-base/src/list-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,13 +350,4 @@ export const ListMixin = (superClass) =>

return super._isItemFocusable(item);
}

/**
* Fired when the selection is changed.
* Not fired when used in `multiple` selection mode.
*
* @event selected-changed
* @param {Object} detail
* @param {Object} detail.value the index of the item selected in the items array.
*/
};
11 changes: 0 additions & 11 deletions packages/app-layout/src/vaadin-app-layout-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,15 +524,4 @@ export const AppLayoutMixin = (superclass) =>
this.__resizeObserver.unobserve(element);
this.__resizeObserver.observe(element);
}

/**
* App Layout listens to `close-overlay-drawer` on the window level.
* A custom event can be dispatched and the App Layout will close the drawer in overlay.
*
* That can be used, for instance, when a navigation occurs when user clicks in a menu item inside the drawer.
*
* See `dispatchCloseOverlayDrawerEvent()` helper method.
*
* @event close-overlay-drawer
*/
};
234 changes: 0 additions & 234 deletions packages/charts/src/vaadin-chart-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,109 +491,18 @@ export const ChartMixin = (superClass) =>
*/
get __chartEventNames() {
return {
/**
* Fired when a new series is added.
* @event chart-add-series
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
addSeries: 'chart-add-series',

/**
* Fired after a chart is exported.
* @event chart-after-export
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
afterExport: 'chart-after-export',

/**
* Fired after a chart is printed.
* @event chart-after-print
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
afterPrint: 'chart-after-print',

/**
* Fired before a chart is exported.
* @event chart-before-export
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
beforeExport: 'chart-before-export',

/**
* Fired before a chart is printed.
* @event chart-before-print
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
beforePrint: 'chart-before-print',

/**
* Fired when clicking on the plot background.
* @event chart-click
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
click: 'chart-click',

/**
* Fired when drilldown point is clicked.
* @event chart-drilldown
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
drilldown: 'chart-drilldown',

/**
* Fired when drilling up from a drilldown series.
* @event chart-drillup
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
drillup: 'chart-drillup',

/**
* Fired after all the series has been drilled up if chart has multiple drilldown series.
* @event chart-drillupall
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
drillupall: 'chart-drillupall',

/**
* Fired when the chart is finished loading.
* @event chart-load
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
load: 'chart-load',

/**
* Fired when the chart is redraw. Can be called after a `Chart.configuration.redraw()`
* or after an axis, series or point is modified with the `redraw` option set to `true`.
* @event chart-redraw
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
redraw: 'chart-redraw',

/**
* Fired when an area of the chart has been selected.
* @event chart-selection
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
selection: 'chart-selection',

/**
* Fired when the chart finishes resizing.
* @event chart-end-resize
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} chart Chart object where the event was sent from
*/
endResize: 'chart-end-resize',
};
}
Expand All @@ -604,67 +513,12 @@ export const ChartMixin = (superClass) =>
*/
get __seriesEventNames() {
return {
/**
* Fired when the series has finished its initial animation.
* @event series-after-animate
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/
afterAnimate: 'series-after-animate',

/**
* Fired when the checkbox next to the series' name in the legend is clicked.
* @event series-checkbox-click
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/
checkboxClick: 'series-checkbox-click',

/**
* Fired when the series is clicked.
* @event series-click
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/
click: 'series-click',

/**
* Fired when the series is hidden after chart generation time.
* @event series-hide
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/
hide: 'series-hide',

/**
* Fired when the legend item belonging to the series is clicked.
* @event series-legend-item-click
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/

/**
* Fired when the mouses leave the graph.
* @event series-mouse-out
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/
mouseOut: 'series-mouse-out',

/**
* Fired when the mouse enters the graph.
* @event series-mouse-over
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/
mouseOver: 'series-mouse-over',

/**
* Fired when the series is show after chart generation time.
* @event series-show
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} series Series object where the event was sent from
*/
show: 'series-show',
};
}
Expand All @@ -675,117 +529,29 @@ export const ChartMixin = (superClass) =>
*/
get __pointEventNames() {
return {
/**
* Fired when the point is clicked.
* @event point-click
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
click: 'point-click',

/**
* Fired when the legend item belonging to the point is clicked.
* @event point-legend-item-click
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/

/**
* Fired when the mouse leaves the area close to the point.
* @event point-mouse-out
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
mouseOut: 'point-mouse-out',

/**
* Fired when the mouse enters the area close to the point.
* @event point-mouse-over
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
mouseOver: 'point-mouse-over',

/**
* Fired when the point is removed from the series.
* @event point-remove
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
remove: 'point-remove',

/**
* Fired when the point is selected either programmatically or by clicking on the point.
* @event point-select
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
select: 'point-select',

/**
* Fired when the point is unselected either programmatically or by clicking on the point
* @event point-unselect
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
unselect: 'point-unselect',

/**
* Fired when the point is updated programmatically through `.updateConfiguration()` method.
* @event point-update
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
update: 'point-update',

/**
* Fired when starting to drag a point.
* @event point-drag-start
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
dragStart: 'point-drag-start',

/**
* Fired when the point is dropped.
* @event point-drop
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
drop: 'point-drop',

/**
* Fired while dragging a point.
* @event point-drag
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} point Point object where the event was sent from
*/
drag: 'point-drag',
};
}

/** @private */
get __xAxesEventNames() {
return {
/**
* Fired when the minimum and maximum is set for the x axis.
* @event xaxes-extremes-set
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} axis Point object where the event was sent from
*/
afterSetExtremes: 'xaxes-extremes-set',
};
}

/** @private */
get __yAxesEventNames() {
return {
/**
* Fired when the minimum and maximum is set for the y axis.
* @event yaxes-extremes-set
* @param {Object} detail.originalEvent object with details about the event sent
* @param {Object} axis Point object where the event was sent from
*/
afterSetExtremes: 'yaxes-extremes-set',
};
}
Expand Down
6 changes: 0 additions & 6 deletions packages/checkbox/src/vaadin-checkbox-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,4 @@ export const CheckboxMixin = (superclass) =>
_onRequiredIndicatorClick() {
this._labelNode.click();
}

/**
* Fired when the checkbox is checked or unchecked by the user.
*
* @event change
*/
};
39 changes: 0 additions & 39 deletions packages/combo-box/src/vaadin-combo-box-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,43 +552,4 @@ export const ComboBoxMixin = (superClass) =>

super._handleFocusOut();
}

/**
* Fired when the value changes.
*
* @event value-changed
* @param {Object} detail
* @param {String} detail.value the combobox value
*/

/**
* Fired when selected item changes.
*
* @event selected-item-changed
* @param {Object} detail
* @param {Object|String} detail.value the selected item. Type is the same as the type of `items`.
*/

/**
* Fired when the user sets a custom value.
* @event custom-value-set
* @param {String} detail the custom value
*/

/**
* Fired when the user commits a value change.
* @event change
*/

/**
* Fired after the `vaadin-combo-box-overlay` opens.
*
* @event vaadin-combo-box-dropdown-opened
*/

/**
* Fired after the `vaadin-combo-box-overlay` closes.
*
* @event vaadin-combo-box-dropdown-closed
*/
};
6 changes: 0 additions & 6 deletions packages/confirm-dialog/src/vaadin-confirm-dialog-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,4 @@ export const ConfirmDialogMixin = (superClass) =>
this.dispatchEvent(new CustomEvent('reject'));
this.opened = false;
}

/**
* Fired when the confirm dialog is closed.
*
* @event closed
*/
};
Loading
Loading