8
0
فهرست منبع

Fix code example

Maciej 5 سال پیش
والد
کامیت
1c6d761211
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/ckeditor5-utils/docs/framework/guides/deep-dive/observables.md

+ 1 - 1
packages/ckeditor5-utils/docs/framework/guides/deep-dive/observables.md

@@ -206,7 +206,7 @@ In the example below, a button's `isEnabled` property will be set to `true` only
 
 ```js
 const command = editor.commands.get( 'heading' );
-button.bind( 'isOn', 'isEnabled' ).to( command, 'value', value => value === 'heading1' );
+button.bind( 'isOn' ).to( command, 'value', value => value === 'heading1' );
 ```
 
 ### Binding multiple properties