How can Mini Program hide the div area outside the div area?

because Mini Program does not support Dom-related operations, in the past, it would be implemented with binding events and then preventing bubbling, so how should it be implemented in Mini Program?

Mar.28,2021

although Mini Program does not allow direct operation of DOM, event bubbling is still supported. Just capture and deal with it directly.

Menu