Request
<button mix-post="test">
Hide items
</button>
Response
<browser
mix-hide=".item"
>
</browser>
In this example, there are multiple shown items in the DOM with the class "item". Clicking on the "Hide items" button, will send a reques to the server. The response will contain the instruction to hide those items.
Note: The request send to the server doesn't influence this example. It can be any type of request. For the example, it is using a POST reques to an imaginary end-point called "test"
<button mix-post="test">
Hide items
</button>
<browser
mix-hide=".item"
>
</browser>
In this example, there are multiple shown items in the DOM with the class "item". Clicking on the "Hide items slowly" button, will send a reques to the server. The response will contain the instruction to hide those items.
Note: The request send to the server doesn't influence this example. It can be any type of request. For the example, it is using a POST reques to an imaginary end-point called "test"
<button mix-post="test">
Hide items slowly
</button>
<browser
mix-hide=".item" mix-fade-5000
>
</browser>