Skip to content

Commit

Permalink
Merge pull request #3021 from wix-incubator/doc-bug-wixapplication
Browse files Browse the repository at this point in the history
DocWorks for wix-application - 4 changes detected
  • Loading branch information
emmagrob authored Jul 4, 2024
2 parents d1f67da + 02885d7 commit 37c5b4a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions wix-application/wix-application.service.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ "name": "wix-application",
"mixes": [],
"labels":
[ "changed" ],
"labels": [],
"location":
{ "lineno": 1,
"filename": "application.js" },
Expand Down Expand Up @@ -153,7 +152,7 @@
"",
"// ...",
"",
"wixApplication.openLightbox(\"lightboxId\");" ],
"wixApplication.openAppLightbox(\"lightboxId\");" ],
"extra":
{ } },
{ "title": "Open a lightbox and send it data",
Expand All @@ -163,7 +162,7 @@
"// ...",
"",
"const dataObj = {title: \"Widget Title\"};",
"wixApplication.openLightbox(\"lightboxId\", dataObj);" ],
"wixApplication.openAppLightbox(\"lightboxId\", dataObj);" ],
"extra":
{ } },
{ "title": "Open a lightbox and receive data when it closes",
Expand All @@ -172,7 +171,7 @@
"",
"// ...",
"",
"wixApplication.openLightbox(\"lightboxId\")",
"wixApplication.openAppLightbox(\"lightboxId\")",
" .then( (data) => { ",
" let receivedData = data; // When the lightbox is closed, it returns this data",
" } );" ],
Expand All @@ -185,7 +184,7 @@
"// ...",
"",
"const dataObj = {title: \"My Title\"};",
"wixApplication.openLightbox(\"ligthboxId\", dataObj)",
"wixApplication.openAppLightbox(\"ligthboxId\", dataObj)",
" .then( (data) => {",
" let receivedData = data; // When the lightbox is closed, it returns this data. ",
" } );" ],
Expand Down

0 comments on commit 37c5b4a

Please sign in to comment.