Informs about whether an attribute from the Selection.Attribute enumeration has the same value for the complete selection.

<void> Selection.isCommonSelectionValueSelected(<Selection.Attribute> selectionAttribute, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
selectionAttribute Specifies a possible value from the enumeration.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.

Further Reading

Learn more about the Javascript: Selection.isCommonSelectionValueSelected Method in the Text Control Blog: