feature: expose public api on notify component
This commit is contained in:
parent
6a64dea4e7
commit
4d67dc3896
|
@ -65,6 +65,8 @@ export default defineComponent({
|
|||
context.emit('empty');
|
||||
}
|
||||
|
||||
context.expose({ addToast, clear, clearAll, closeToast });
|
||||
|
||||
return () => {
|
||||
return (
|
||||
<div id={props.id} class={notifyClass.value} style={notifyStyle.value}>
|
||||
|
|
Loading…
Reference in New Issue