Преглед на файлове

Docs: Simplified dropdown code snippets in the UI guide.

Aleksander Nowodzinski преди 7 години
родител
ревизия
d5c4168288
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      docs/framework/guides/architecture/ui-library.md

+ 0 - 2
docs/framework/guides/architecture/ui-library.md

@@ -347,7 +347,6 @@ import iconFile from 'path/to/icon.svg';
 // ...
 
 dropdownView.buttonView.set( {
-	// ...
 	icon: iconFile
 } );
 ```
@@ -366,7 +365,6 @@ Dropdowns can also display tooltips when hovered. Use the {@link module:ui/butto
 
 ```js
 dropdownView.buttonView.set( {
-	// ...
 	// The tooltip text will repeat the label.
 	tooltip: true
 } );