You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Returns the current value of the document, range, or current selection for the given command.
4381
-
* @param commandId String that specifies a command identifier.
4383
+
* Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.
4384
+
* @param url Specifies a MIME type for the document.
4385
+
* @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.
4386
+
* @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported.
4387
+
* @param replace Specifies whether the existing entry for the document is replaced in the history list.
* Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.
4386
4392
* @param commandId Specifies a command identifier.
4387
4393
*/
4388
4394
queryCommandEnabled(commandId: string): boolean;
4389
4395
/**
4390
-
* Gets a value indicating whether the object currently has focus.
4396
+
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
4397
+
* @param commandId String that specifies a command identifier.
4391
4398
*/
4392
-
hasFocus(): boolean;
4399
+
queryCommandIndeterm(commandId: string): boolean;
4393
4400
/**
4394
4401
* Returns a Boolean value that indicates the current state of the command.
4395
4402
* @param commandId String that specifies a command identifier.
4396
4403
*/
4397
4404
queryCommandState(commandId: string): boolean;
4398
4405
/**
4399
-
* Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.
4400
-
* @param content The text and HTML tags to write.
4406
+
* Returns a Boolean value that indicates whether the current command is supported on the current range.
4407
+
* @param commandId Specifies a command identifier.
* Returns the current value of the document, range, or current selection for the given command.
4412
+
* @param commandId String that specifies a command identifier.
4413
+
*/
4414
+
queryCommandValue(commandId: string): string;
4415
+
/** @deprecated */
4416
+
releaseEvents(): void;
4403
4417
/**
4404
4418
* Writes one or more HTML expressions to a document in the specified window.
4405
4419
* @param content Specifies the text and HTML tags to write.
4406
4420
*/
4407
4421
write(...text: string[]): void;
4408
4422
/**
4409
-
* Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.
4410
-
* @param url Specifies a MIME type for the document.
4411
-
* @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.
4412
-
* @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported.
4413
-
* @param replace Specifies whether the existing entry for the document is replaced in the history list.
4423
+
* Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.
0 commit comments