I've seen tons of questions and answers about how to tell if a page is in edit mode, from server side, but I cannot find a solution for how to tell if the page is in edit mode, client side.
Can anyone point me in the right direction? Do I need to create a web part that simply emits such a variable? (That seems like overkill to me.)
Thanks so much!