<s> """<STR_LIT>""" <EOL> from ... import react <EOL> from ... pyscript import window <EOL> from . import Widget <EOL> class GroupWidget ( Widget ) : <EOL> """<STR_LIT>""" <EOL> class JS : <EOL> def _create_node ( self ) : <EOL> ori = window . phosphor . panel . Panel . createNode <EOL> def _ ( ) : <EOL> return window . document . createElement ( '<STR_LIT>' ) <EOL> window . phosphor . panel . Panel . createNode = _ <EOL> self . p = window . phosphor . panel . Panel ( ) <EOL> window . phosphor . panel . Panel . createNode = ori <EOL> self . _legend = window . document . createElement ( '<STR_LIT>' ) <EOL> self . p . node . appendChild ( self . _legend ) <EOL> @ react . connect ( '<STR_LIT:title>' ) <EOL> def _title_changed ( self , title ) : <EOL> self . _legend . innerHTML = title </s>
