

def setFocus(self, focused):
    if focused:
        focus(self.getElement())
    else:
        blur(self.getElement())

dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/ui/Focus.py FocusMixin.setFocus/original