Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Dec 13, 2022
1 parent e446a53 commit f9c3f7f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/loadSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface Options {
* 动态加载资源,支持js、图片、css链接、css样式字符串
*
* @param url - 资源链接,传入styleString时,type必传
* @param option - 参数: { attrs, props, force }
* @param option - 参数: "{ attrs, props, force }"
* @returns - true|false|imgUrl
*/
async function loadSource(
Expand Down
2 changes: 1 addition & 1 deletion src/mountCss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface CssOptions {
* 动态加载css链接资源
*
* @param src - 资源地址
* @param option - 参数: { attrs, props, force }
* @param option - 参数: "{ attrs, props, force }"
* @returns - result
*/
function mountCss(src: string, option: CssOptions): Promise<boolean> {
Expand Down
2 changes: 1 addition & 1 deletion src/mountImg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface ImgOptions {
* 动态加载图片资源
*
* @param src - 资源地址
* @param option - 参数: { attrs, props, force }
* @param option - 参数: "{ attrs, props, force }"
* @returns - result
*/
function mountImg(src: string, option: ImgOptions): Promise<boolean | string> {
Expand Down
2 changes: 1 addition & 1 deletion src/mountJs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface JsOptions {
* 动态加载js链接资源
*
* @param src - 资源地址
* @param option - 参数: { attrs, props, force }
* @param option - 参数: "{ attrs, props, force }"
* @returns - result
*/
function mountJs(src: string, option: JsOptions): Promise<boolean> {
Expand Down
2 changes: 1 addition & 1 deletion src/mountStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface StyleOptions {
* 动态加载css样式
*
* @param src - css string
* @param option - 参数: { attrs, props }
* @param option - 参数: "{ attrs, props }"
* @returns - result
*/
function mountStyle(css: string, option: StyleOptions): Promise<boolean> {
Expand Down

0 comments on commit f9c3f7f

Please sign in to comment.