Kaynağa Gözat

Docs: Added missing documentation for link.ui.LinkFormView#cancel and link.ui.LinkFormView#unlink events.

Aleksander Nowodzinski 9 yıl önce
ebeveyn
işleme
1fedec0a4e
1 değiştirilmiş dosya ile 12 ekleme ve 0 silme
  1. 12 0
      packages/ckeditor5-link/src/ui/linkformview.js

+ 12 - 0
packages/ckeditor5-link/src/ui/linkformview.js

@@ -146,3 +146,15 @@ export default class LinkFormView extends View {
  *
  * @event link.ui.LinkFormView#submit
  */
+
+/**
+ * Fired when the form view is canceled, e.g. click on {@link link.ui.LinkFormView#cancelButtonView}.
+ *
+ * @event link.ui.LinkFormView#cancel
+ */
+
+/**
+ * Fired when the {@link link.ui.LinkFormView#unlinkButtonView} is clicked.
+ *
+ * @event link.ui.LinkFormView#unlink
+ */