Elm DOM node decoder to detect click outside 
Implementing json decoder to recursively decode event target DOM node to detect click outside
Tags: elm, decoder, dom, clickoutside