Hi Amit,
Thanks for your update.
We understood your requirement for resizable Card components.
EJ2 Card is standalone component completely based on CSS customization and does not require any script for rendering and it hence does not support resizable feature. For more information on Card component, please check the below help page.
However, you can extend the functionality of Card component by using the EJ1 resizable plugin. For this you need to refer the Scripts and themes of resizable plugin and initialize the EJ2 card component with the plugin. We have showcased this in the below code block.
<!-- Essential JS 1 bootstrap theme -->
<!-- Essential JS 1 script reference -->
<div tabindex="0" class="e-card" id="basic_card">
<div class="e-card-header">
<div class="e-card-header-caption">
</div>
<div class="e-card-header-image">
<span class="e-icon-close e-icons">
</span>
</div>
</div>
<div class="e-card-content">
</div>
//set the resize icon in the card like below
<div class="e-icon e-resize-handle e-resizable"></div>
</div>
<script>
//initiate the resizable for the card
$('#basic_card').ejResizable({
helper: function (event) {
return $(event.element);
}});
</script>
For your reference, we have prepared a sample with resizable Cards. Please check the below link.
We suggest you go through the below help pages to explore more about resizable plugin of EJ1.
Please let us know in case if you would need any further assistance.
Regards,
Deepa L.