How does vue element ui check if popover is open?

now I"m going to make something

is to open a hidden div when popover is opened

hide that div when popover is closed

this is a hidden div
< div class= "test" v test show = "status = 2" style= "position: absolute;width: 100% : 100% political background:-sharp000;z-index: 999x opacity.7" >

the current idea is that the hidden div is written in v-show, then check whether the popover is turned on, and put the check results in the status to control the div

the problem now is that I don"t know how to check whether popover is opened for help

Jun.24,2021

did not use this, go to the document , it is written that show and hide should be

triggered when showing and hiding.
<el-popover
    placement="top-start"
    title=""
    width="200"
    trigger="hover"
    show="status=2"
    content=",,,">
    <el-button slot="reference">hover </el-button>
  </el-popover>

if direct assignment does not work, use methods to define a method show= "method", and you can


you can control the value of status through the show,hide method

<el-popover
    placement="top-start"
    title=""
    width="200"
    trigger="hover"
    @show="showHandle"
    @hide="hideHandle"
    content=",,,">
    <el-button slot="reference">hover </el-button>
</el-popover>
showHandle(){
    this.status = 2;
},
hideHandle(){
    this.status = 1;
},
Menu