From: Alan Knowles Date: Mon, 22 Mar 2021 07:14:50 +0000 (+0800) Subject: docs update for input X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=6ad7528281dbdb599d8812c3f92899b064ad2f9a docs update for input --- diff --git a/docs/json/roodata.json b/docs/json/roodata.json index 5e9f9c272d..d4407dad73 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -22711,6 +22711,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -24518,6 +24525,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "remove", "type" : "function", @@ -26547,6 +26561,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -32288,6 +32309,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "push", "type" : "function", @@ -33661,6 +33689,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "" + }, { "name" : "render", "type" : "function", @@ -36572,6 +36607,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -40836,6 +40878,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "remove", "type" : "function", @@ -41827,6 +41876,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -47064,6 +47120,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -49363,6 +49426,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -52475,6 +52545,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -53748,6 +53825,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -58714,6 +58798,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -59582,6 +59673,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", @@ -60497,6 +60595,13 @@ "sig" : "function (_self, e)\n{\n\n}", "memberOf" : "Roo.bootstrap.Input" }, + { + "name" : "paste", + "type" : "function", + "desc" : "Fires after the user pastes into input", + "sig" : "function (_self, e)\n{\n\n}", + "memberOf" : "Roo.bootstrap.Input" + }, { "name" : "render", "type" : "function", diff --git a/docs/src/Roo_bootstrap_Input.js.html b/docs/src/Roo_bootstrap_Input.js.html index 7a0d43f356..6155527df9 100644 --- a/docs/src/Roo_bootstrap_Input.js.html +++ b/docs/src/Roo_bootstrap_Input.js.html @@ -95,7 +95,14 @@ * @param {Roo.form.Field} this * @param {Roo.EventObject} e The event Object */ - keyup : true + keyup : true, + /** + * @event paste + * Fires after the user pastes into input + * @param {Roo.form.Field} this + * @param {Roo.EventObject} e The event Object + */ + paste : true }); }; @@ -598,6 +605,7 @@ this.inputEl().on("blur", this.onBlur, this); this.inputEl().relayEvent('keyup', this); + this.inputEl().relayEvent('paste', this); this.indicator = this.indicatorEl(); diff --git a/docs/symbols/Roo.bootstrap.CheckBox.json b/docs/symbols/Roo.bootstrap.CheckBox.json index 367c8ca89c..8b2c08b395 100644 --- a/docs/symbols/Roo.bootstrap.CheckBox.json +++ b/docs/symbols/Roo.bootstrap.CheckBox.json @@ -1471,6 +1471,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.ComboBox.json b/docs/symbols/Roo.bootstrap.ComboBox.json index b63cff7d3a..8dfd137a44 100644 --- a/docs/symbols/Roo.bootstrap.ComboBox.json +++ b/docs/symbols/Roo.bootstrap.ComboBox.json @@ -2255,6 +2255,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.DateField.json b/docs/symbols/Roo.bootstrap.DateField.json index c7a725afa5..25dc8a4beb 100644 --- a/docs/symbols/Roo.bootstrap.DateField.json +++ b/docs/symbols/Roo.bootstrap.DateField.json @@ -1502,6 +1502,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.HtmlEditor.json b/docs/symbols/Roo.bootstrap.HtmlEditor.json index e94d031be4..55aaceb560 100644 --- a/docs/symbols/Roo.bootstrap.HtmlEditor.json +++ b/docs/symbols/Roo.bootstrap.HtmlEditor.json @@ -1713,6 +1713,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "invalid", "desc" : "Fires after the field has been marked as invalid.", diff --git a/docs/symbols/Roo.bootstrap.Input.json b/docs/symbols/Roo.bootstrap.Input.json index b6b4d44161..e8b98c2ef5 100644 --- a/docs/symbols/Roo.bootstrap.Input.json +++ b/docs/symbols/Roo.bootstrap.Input.json @@ -1331,6 +1331,30 @@ } ], "events" : [ + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.Markdown.json b/docs/symbols/Roo.bootstrap.Markdown.json index 0424a87749..dfd0d13d6d 100644 --- a/docs/symbols/Roo.bootstrap.Markdown.json +++ b/docs/symbols/Roo.bootstrap.Markdown.json @@ -1378,6 +1378,30 @@ } ], "events" : [ + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.MoneyField.json b/docs/symbols/Roo.bootstrap.MoneyField.json index 3656d2ea21..2ed1463e87 100644 --- a/docs/symbols/Roo.bootstrap.MoneyField.json +++ b/docs/symbols/Roo.bootstrap.MoneyField.json @@ -2357,6 +2357,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.MonthField.json b/docs/symbols/Roo.bootstrap.MonthField.json index 6c59855597..378662888e 100644 --- a/docs/symbols/Roo.bootstrap.MonthField.json +++ b/docs/symbols/Roo.bootstrap.MonthField.json @@ -1393,6 +1393,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.NumberField.json b/docs/symbols/Roo.bootstrap.NumberField.json index f9f8a157a7..105129b7ab 100644 --- a/docs/symbols/Roo.bootstrap.NumberField.json +++ b/docs/symbols/Roo.bootstrap.NumberField.json @@ -1416,6 +1416,30 @@ } ], "events" : [ + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.PhoneInput.json b/docs/symbols/Roo.bootstrap.PhoneInput.json index 196f824d12..8d6ea22ce7 100644 --- a/docs/symbols/Roo.bootstrap.PhoneInput.json +++ b/docs/symbols/Roo.bootstrap.PhoneInput.json @@ -1416,6 +1416,30 @@ } ], "events" : [ + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.RadioSet.json b/docs/symbols/Roo.bootstrap.RadioSet.json index 26cf231c31..2f1b9d96fc 100644 --- a/docs/symbols/Roo.bootstrap.RadioSet.json +++ b/docs/symbols/Roo.bootstrap.RadioSet.json @@ -1409,6 +1409,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.SecurePass.json b/docs/symbols/Roo.bootstrap.SecurePass.json index 411d9b69e0..1a3d74f8f9 100644 --- a/docs/symbols/Roo.bootstrap.SecurePass.json +++ b/docs/symbols/Roo.bootstrap.SecurePass.json @@ -1353,6 +1353,30 @@ } ], "events" : [ + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.TextArea.json b/docs/symbols/Roo.bootstrap.TextArea.json index 1a253f3e0f..e050cb28fb 100644 --- a/docs/symbols/Roo.bootstrap.TextArea.json +++ b/docs/symbols/Roo.bootstrap.TextArea.json @@ -1377,6 +1377,30 @@ } ], "events" : [ + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.TimeField.json b/docs/symbols/Roo.bootstrap.TimeField.json index 452279f15e..be780444d9 100644 --- a/docs/symbols/Roo.bootstrap.TimeField.json +++ b/docs/symbols/Roo.bootstrap.TimeField.json @@ -1387,6 +1387,30 @@ ], "returns" : [] }, + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.", diff --git a/docs/symbols/Roo.bootstrap.TriggerField.json b/docs/symbols/Roo.bootstrap.TriggerField.json index d531992f16..48b817dab4 100644 --- a/docs/symbols/Roo.bootstrap.TriggerField.json +++ b/docs/symbols/Roo.bootstrap.TriggerField.json @@ -1401,6 +1401,30 @@ } ], "events" : [ + { + "name" : "paste", + "desc" : "Fires after the user pastes into input", + "memberOf" : "Roo.bootstrap.Input", + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "params" : [ + { + "name" : "this", + "type" : "Roo.form.Field", + "desc" : "", + "isOptional" : false + }, + { + "name" : "e", + "type" : "Roo.EventObject", + "desc" : "The event Object", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "change", "desc" : "Fires just before the field blurs if the field value has changed.",