I have this stucture in my parent Component:
<div class="section" >
<VRVideoPage :isActive="false"></VRVideoPage>
</div>
Via a third-party tool it's possible that the "section"-div gets a css class named "active" added.
I now want to toggle the ":isActive" property on the VRVideoPage component to true, whenever the active class is applied to its parent.
Is this achivable via the vue template syntax?
active
to a prop indata
section via third-party tool. That way you can use the prop moth for class in section div and to pass to VRVideoPage - Anatoly