The flap is lifted by the handle, then it floats, and stays open until the water has drained away. Then it flops down and water pressure on top holds it down.
You can put a weight, such as a brass nut, on the chain if you want it to shut more quickly, or to make the handle return when released.