Clip Area API - xkp/Doc GitHub Wiki

Overview

A clip area will help developers show only pieces of components. Clip areas setup the visible areas of it siblings, hence they can be combined.

Usage

<div id="parent">
    <img id="myImage" src="myImage.jpg"/>
    <clip_area id="myClipArea"/>
</div>

In this sample myClipArea will restrict the visibility of myImage.

Properties

shape: "rect" or "circle", determines the shape of the clip area.

⚠️ **GitHub.com Fallback** ⚠️