1.1.0 • Published 5 years ago

h5ds-mount-plugin v1.1.0

Weekly downloads
37
License
other
Repository
-
Last release
5 years ago

挂载插件的方法

此方法是单纯的插件挂载,在editor或者layer中使用

use:

import { mountPlugin } from 'h5ds-mount-plugin';

mountPlugin({...});

API

mountPlugin v1.0.0 add

说明:挂载单个插件

import { mountPlugin } from 'h5ds-mount-plugin';

// 挂载demo插件
mountPlugin({...demo});

unmountPlugin v1.0.0 add

说明:卸载挂载单个插件

import { unmountPlugin } from 'h5ds-mount-plugin';

// 卸载demo插件
unmountPlugin('demo');

mountValue v1.1.0 add

说明:挂载指定参数

import { mountValue } from 'h5ds-mount-plugin';

// 挂载 swiper 名称的参数,value
mountValue('swiper', value);

unmountValue v1.1.0 add

说明:卸载指定参数

import { unmountValue } from 'h5ds-mount-plugin';

// 卸载 swiper 名称的值
unmountValue('swiper');

unmountAll v1.1.0 add

说明:卸载所有参数

import { unmountAll } from 'h5ds-mount-plugin';

// 卸载所有参数
unmountAll(');
1.1.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago