Allow event binding with functional ui attribute.