mixhtml

HIDE

Hide already created items

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"

Item One
Item Two
Item Three

Request

    <button mix-post="test">
        Hide items
    </button>

Response

<browser 
    mix-hide=".item"
>
</browser>

Hide already created items slowly

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"

Item One
Item Two
Item Three

Request

    <button mix-post="test">
        Hide items slowly
    </button>

Response

<browser 
    mix-hide=".item" mix-fade-5000
>
</browser>