Add doc for dragend event

pull/1196/head^2
Cagatay Civici 2021-05-14 13:23:14 +03:00
parent fa39c21c34
commit 69c37f7751
3 changed files with 19 additions and 2 deletions

View File

@ -163,7 +163,18 @@ const DialogEvents = [
}, },
{ {
name: "unmaximize", name: "unmaximize",
description: "Fire when a dialog gets unmaximized.", description: "Fired when a dialog gets unmaximized.",
arguments: [
{
name: "event",
type: "object",
description: "Event Object"
}
]
},
{
name: "dragend",
description: "Fired when a dialog drag completes.",
arguments: [ arguments: [
{ {
name: "event", name: "event",

View File

@ -30,6 +30,7 @@ declare class Dialog {
$emit(eventName: 'hide'): this; $emit(eventName: 'hide'): this;
$emit(eventName: 'maximize'): this; $emit(eventName: 'maximize'): this;
$emit(eventName: 'unmaximize'): this; $emit(eventName: 'unmaximize'): this;
$emit(eventName: 'dragend'): this;
$slots: { $slots: {
'': VNode[]; '': VNode[];
header: VNode[]; header: VNode[];

View File

@ -255,7 +255,12 @@ export default {
<tr> <tr>
<td>unmaximize</td> <td>unmaximize</td>
<td>event: Event object</td> <td>event: Event object</td>
<td>Fire when a dialog gets unmaximized.</td> <td>Fired when a dialog gets unmaximized.</td>
</tr>
<tr>
<td>dragend</td>
<td>event: Event object</td>
<td>Fired when a dialog drag completes..</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>