Skip to content

Commit

Permalink
Merge pull request #79 from fe-lix-/fix-typo-cf-editor-set-styles
Browse files Browse the repository at this point in the history
Fixing typo
  • Loading branch information
fe-lix- authored Jul 16, 2024
2 parents 3997cdc + 539d1a8 commit 3520d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/services/aem-cf-editor/api/data/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ await api.setValue(fieldName, "New value");
```js
const api = await guestConnection.host.dataApi.get();
const fieldName = "test-field";
await api.setStyle(fieldName, {"display": "none"});
await api.setStyles(fieldName, {"display": "none"});
// Second parameter is the object that is used to pass the styles that will be applied on field
```

Expand Down

0 comments on commit 3520d6e

Please sign in to comment.