0.3.25 • Published 8 months ago

@nola/writter v0.3.25

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Writter APIs -- 文档编辑器接口

We use action to Manage all of Operations\ 我们决定使用 action 的方式进行业务操作管理

Default Namespcace is nolaWritter, registried by vue-scaff\ 默认命名空间为 nolaWritter,于 vue-scaff 中注册

The Command is $store.dispatch('nolaWritter/{action}', {param})\ 执行命令为 $store.dispatch('nolaWritter/{指令}', {参数})

save

// Command
$store.dispatch('nolaWritter/save');

// Response
return { success };

load

// Command
$store.dispatch('nolaWritter/load', id);

// Response
return { context, setting };

111

update

// Command
$store.dispatch('nolaWritter/update', { index, material });

// Response
return { context };

Add

// Command
$store.dispatch('nolaWritter/add', { index, material });

// Response
return { context };

Del

// Command
$store.dispatch('nolaWritter/del', { index });

// Response
return { context };
0.3.9

9 months ago

0.3.15

9 months ago

0.3.14

9 months ago

0.3.13

9 months ago

0.3.12

9 months ago

0.3.11

9 months ago

0.3.10

9 months ago

0.3.20

8 months ago

0.3.25

8 months ago

0.3.24

8 months ago

0.3.23

8 months ago

0.3.22

8 months ago

0.3.21

8 months ago

0.3.6

9 months ago

0.3.5

9 months ago

0.3.8

9 months ago

0.3.7

9 months ago

0.3.1

9 months ago

0.3.4

9 months ago

0.3.3

9 months ago

0.3.0

12 months ago

0.2.8

1 year ago

0.2.7

1 year ago