Request
<button mix-get="items">
Show items
</button>
Response
<browser
mix-show=".item"
>
</browser>
In this example, there are multiple items in the DOM with the class "item", but they are all hidden using the mix-hidden class. Click on the "Show items" button, will send a reques to the server. The response will contain the instruction to show those hidden users.
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 GET.
<button mix-get="items">
Show items
</button>
<browser
mix-show=".item"
>
</browser>
In this example, there are multiple items in the DOM with the class "item", but they are all hidden using the mix-hidden class. Click on the "Show items" button, will send a reques to the server. The response will contain the instruction to show those hidden users.
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 GET.
<button mix-get="items">
Show items
</button>
<browser
mix-show=".item" mix-fade-5000
>
</browser>