Skip to content

Version 2.1.5

Latest

Choose a tag to compare

@cyhnkckali cyhnkckali released this 02 Sep 06:35

1 - When the showButtons property is set to true, the onChange event has been added to monitor the changing value.
2- Slots have been added for buttons.

<slot name="buttons" :save="handleSave" :cancel="handleCancel">
<button class="ck-cp-buttons__button ck-cp-buttons__button--save" type="button" @click="handleSave">
{{ local.btnSaveLabel }}
</button>
<button class="ck-cp-buttons__button ck-cp-buttons__button--cancel" type="button" @click="handleCancel">
{{ local.btnCancelLabel }}
</button>
</slot>