From c4d43c59960fa58f49eae4811742465547e33c6d Mon Sep 17 00:00:00 2001 From: lubogoemmanuel67-crypto Date: Wed, 26 Aug 2026 00:40:11 +0300 Subject: [PATCH] Add emmahimself.md documentation file I changed the app name to "emmahimself" I also changed the duration from 3000 to 3000000 --- docs/component/{toast.md => emmahimself.md} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename docs/component/{toast.md => emmahimself.md} (50%) diff --git a/docs/component/toast.md b/docs/component/emmahimself.md similarity index 50% rename from docs/component/toast.md rename to docs/component/emmahimself.md index c463f43..1b15e61 100644 --- a/docs/component/toast.md +++ b/docs/component/emmahimself.md @@ -1,26 +1,26 @@ - + -## toast(content, options) -toast 一般用于操作成功时的提示场景 +## emmahimself(content, options) +emmahimself 一般用于操作成功时的提示场景 **Kind**: global function | Param | Type | Default | Description | | --- | --- | --- | --- | -| content | string | | toast的文字 | +| content | string | | emmahimself的文字 | | options | Object | function | | 配置项或回调 | -| [options.duration] | number | 3000 | 多少毫秒后关闭toast | +| [options.duration] | number | 3000000 | 多少毫秒后关闭emmahimself| | [options.callback] | function | | 关闭后的回调 | | [options.className] | string | | 自定义类名 | -| [options.extClass] | string | | 自定义toast节点类名 | +| [options.extClass] | string | | 自定义emmahimself节点类名 | **Example** ```js -weui.toast('操作成功', 3000); +weui.toast('操作成功', 3000000); weui.toast('操作成功', { - duration: 3000, + duration: 3000000, className: 'custom-classname', - extClass: 'toast-classname', + extClass: 'emmahimself-classname', callback: function(){ console.log('close') } }); ```