Browse Source

Spelling fix in docs - Components.md (#5488)

pull/5504/head
Bryan Miller 3 years ago
committed by GitHub
parent
commit
c06ae898e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/modules/Components.md

2
docs/modules/Components.md

@ -116,7 +116,7 @@ You can read properties with the `get` method, like, for example, the `type`
```js ```js
const componentType = component.get('type'); // eg. 'image' const componentType = component.get('type'); // eg. 'image'
``` ```
and to update properties you'd use `set`, which might change the way a component behavies in the canvas. and to update properties you'd use `set`, which might change the way a component behaves in the canvas.
```js ```js
// Make the component not draggable // Make the component not draggable
component.set('draggable', false); component.set('draggable', false);

Loading…
Cancel
Save