You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.
Calling ClipPath on a jQuery object needs an explicit declaration of the path, e.g. in the example it's correct, but in the readme it's a bit misleading:
Apologies for that. In addition, instead of simply correcting the readme, I changed the ClipPath contract on jQuery implementation. So you should use a string. But this is not a breaking change. Use of object with path property still supported but deprecated.
Hello @AlfonsoFilho,
Calling ClipPath on a jQuery object needs an explicit declaration of the path, e.g. in the example it's correct, but in the readme it's a bit misleading:
$('.image').ClipPath({path:'5% 5%, 100% 0%, 100% 75%, 75% 75%, 75% 100%'});
instead of
$('.target').ClipPath('5% 5%, 100% 0%, 100% 75%');
Thanks.
The text was updated successfully, but these errors were encountered: