我需要关于Annotator.js的例子 [英] I need example about Annotator.js

查看:396
本文介绍了我需要关于Annotator.js的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Annotator脚本?简单示例创建,更新,删除,检索。



how to use Annotator script ? simple example create , update , delete , retrieve.

$('#content').annotator('addPlugin', 'Store', {
  urls: {
    // These are the default URLs.
    create:  '/annotations',
    update:  '/annotations/:id',
    destroy: '/annotations/:id',
    search:  '/search'
  }
}):

推荐答案

' #ç ontent')。annotator(' addPlugin'' 商店',{
urls:{
// 这些是默认网址。
create:' / annotations'
update:' / annotations /:id'
destroy:' / annotations /:id'
search :' / search'
}
}):
('#content').annotator('addPlugin', 'Store', { urls: { // These are the default URLs. create: '/annotations', update: '/annotations/:id', destroy: '/annotations/:id', search: '/search' } }):


这个网站, http://annotatorjs.org/ [ ^ ],包含您需要的所有信息。当然,谷歌也有很多例子。
This site, http://annotatorjs.org/[^], has all the information you'll need. And of course, google has many examples as well.


这篇关于我需要关于Annotator.js的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆