Shaped Form
A component that allows the display of shapes, triggered by images with alpha channel.
Options
- type |
string: form type (eitheroctagon,triangle,trapezoid,parallelogram,rhombus,pentagon,hexagon,heptagon,nonagon,decagon,bevel,rabbet,left-arrow,right-arrow,left-point,right-point,left-chevron,right-chevron,star,cross,message,close, orframe). Default:'star'. - src |
string: the background image URL. Default:none. - style |
object: the style of the object, it can hold any CSS including animations. Default:{}. - onClick |
function: event handler invoked when image is clicked. Default:none.
Examples
- Minimal
- With Style
- Size Variation
Live Editor
Result
ReferenceError: Provider is not defined