Giter VIP home page Giter VIP logo

ng-suggest's People

Contributors

hornmo avatar nichtich avatar tinyhill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ng-suggest's Issues

Documention

At the start page

  • Include link to SeeAlso-Specification

  • Include version, author, and download link

  • Show tiny example (SeeAlso)

    div seealso-server=¨...¨ seealso-id=¨...¨

At directives

  • small examples

Include SeeAlso-Demo

As included in the API documentation. Example could also be used from other application, for instance http://verbrannte-und-verbannte.de/person/163 (see https://github.com/jlewis91/codingdavinci/blob/master/php/resources/view/person.detail.twig for use of the old SeeAlso JavaScript-client).

<head>
<script src="http://gbv.github.io/ng-suggest/js/angular.min.js"></script>
<script src="http://gbv.github.io/ng-suggest/grunt-scripts/ng-suggest.min.js"></script>
<script>angular.module('myApp',['ngSuggest']);</script>
</head>
<body>
<div ng-app="myApp">
  <div>
    <div seealso-api="http://beacon.findbuch.de/seealso/pnd-aks/-verbrannte" jsonp=1 
         seealso-id="124730760"/>
  </div>
</div>
</body>

More projects that happen to use the old seealso.js: https://github.com/magnusgruentisch/gndpersondbpy

Facilitate usage of opensearch-suggest directive

This should be enough:

 <input
    ng-model="value"
    suggest-typeahead="https://en.wikipedia.org/w/api.php?action=opensearch&limit=10&namespace=0&format=json&search="
    jsonp />

A corresponding typeahead directive should be added automatically.

Select SeeAlso template based on element

<!-- comma-separated -->
<span seealso-api="http://example.org/" seealso-id="123"/>
<!-- list -->
<ul seealso-api="http://example.org/" seealso-id="123"/>
 <ol seealso-api="http://example.org/" seealso-id="123"/>
<!-- image -->
<img seealso-api="http://example.org/" seealso-id="123"/>
<!-- custom template -->
<div seealso-api="http://example.org/" seealso-id="123">
 ...
</div>
<!-- custom template, referenced -->
<div seealso-api="http://example.org/" seealso-id="123" template-url="..." />

More unit tests

At least basic functionality should be covered by unit tests. By now, the testing framework is set up only to detect errors in the build process.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.