Skip to content

Commit

Permalink
added description for renderModalPreview returned value
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaGashtold committed Jun 17, 2024
1 parent 53931b9 commit 3e0990b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/_classes/component/Component.js
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ export default class Component extends Element {
/**
* Renders a modal preview template and returns the markup as a string
* @param {object|null|undefined} ctx - The rendering context
* @return {string}
* @return {string} - The modal preview markup
*/
renderModalPreview(ctx) {
return this.renderTemplate('modalPreview', ctx || {});
Expand Down

0 comments on commit 3e0990b

Please sign in to comment.