From ced96117ff5ed4389d79dbc063bfca7fa15584ed Mon Sep 17 00:00:00 2001 From: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com> Date: Mon, 30 Mar 2020 12:17:48 -0700 Subject: [PATCH] [office-js, office-js-preview] Note about suspendScreenUpdatingUntilNextSync behavior (#43493) * Removing prompt verbage from selection binding options * Note about suspendScreenUpdatingUntilNextSync behavior --- types/office-js-preview/index.d.ts | 4 +++- types/office-js/index.d.ts | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index ab0de2fa5a..60bb057b92 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -21199,7 +21199,9 @@ declare namespace Excel { */ suspendApiCalculationUntilNextSync(): void; /** - * Suspends sceen updating until the next "context.sync()" is called. + * Suspends screen updating until the next `context.sync()` is called. + * + * **Note**: Don't call `suspendScreenUpdatingUntilNextSync` repeatedly (such as in a loop). Repeated calls will cause the Excel window to flicker. * * [Api set: ExcelApi 1.9] */ diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index d2e7fb10a2..c1b13b5c28 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -18339,8 +18339,10 @@ declare namespace Excel { */ suspendApiCalculationUntilNextSync(): void; /** - * Suspends sceen updating until the next "context.sync()" is called. - * + * Suspends screen updating until the next `context.sync()`is called. + * + * **Note**: Don't call `suspendScreenUpdatingUntilNextSync` repeatedly (such as in a loop). Repeated calls will cause the Excel window to flicker. + * * [Api set: ExcelApi 1.9] */ suspendScreenUpdatingUntilNextSync(): void;