ソースを参照

added what's new.md

ssaket 6 年 前
コミット
eb793c2872

+ 5 - 0
dist/preview release/what's new.md

@@ -16,6 +16,7 @@
   - WebXR camera rotation using parent container ([TrevorDev](https://github.com/TrevorDev))
 - GUI:
   - Added new [ImageBasedSlider](http://doc.babylonjs.com/how_to/gui#imagebasedslider) to let users customize sliders using images ([Deltakosh](https://github.com/deltakosh))
+  - Added support for clipboard events to let users perform `cut`, `copy` and `paste` events ([Saket Saurabh](https://github.com/ssaket))
 
 ## Updates
 
@@ -25,6 +26,10 @@
 - Added `sldier.displayThumb` to show/hide slider's thumb ([Deltakosh](https://github.com/deltakosh))
 - Added `grid.rowCount`, `grid.columnCount` and `grid.getChildrenAt()` ([Deltakosh](https://github.com/deltakosh))
 - Added `Control.AllowAlphaInheritance` to let users control the way alpha is used (inherited or not) ([Deltakosh](https://github.com/deltakosh))
+- Added support for performing operations like select all, text highlight, delete selected in `inputText` ([Saket Saurabh](https://github.com/ssaket))
+- Added `inputText.onTextCopyObservable`, `inputText.onTextCutObservable` and `inputText.onTextPasteObservable` to inputText ([Saket Saurabh](https://github.com/ssaket))
+- Added `AdvancedDynamicTexture.onClipboardObservable` to observe for clipboard events in AdvancedDynamicTexture([Saket Saurabh](https://github.com/ssaket))
+
 
 ### Core Engine
 

+ 2 - 2
gui/src/2D/advancedDynamicTexture.ts

@@ -17,8 +17,8 @@ export interface IFocusableControl {
      */
     onBlur(): void;
     /**
-     * Function called to let control handle key events
-     * @param evt Defines the  KeyboardEvent object
+     * Function called to let the control handle keyboard events
+     * @param evt defines the current keyboard event
      */
     processKeyboard(evt: KeyboardEvent): void;
 

+ 1 - 1
gui/src/2D/controls/inputText.ts

@@ -80,7 +80,7 @@ export class InputText extends Control implements IFocusableControl {
         }
     }
 
-    /** Gets and sets the text highlighter transparancy; default: 0.4 */
+    /** Gets and sets the text highlighter transparency; default: 0.4 */
     public get highligherOpacity(): number {
         return this._highligherOpacity;
     }