queryCommandState method

bool queryCommandState(
  1. String commandId
)

The queryCommandState() method will tell you if the current selection has a certain Document.execCommand command applied.

Implementation

external bool queryCommandState(String commandId);