matteodem / meteor-easy-search

Easy-to-use search for Meteor with Blaze Components
MIT License
438 stars 68 forks source link

Holes in the documentation (easy-fix) #526

Closed BrianJLennon closed 7 years ago

BrianJLennon commented 7 years ago

Let me start by saying that now that I have this working it is an awesome package and it is actually very user friendly!! I wish that the following were clearly detailed in the docs (would have saved me some serious rooting around):

  1. Overriding default search options, eg:

defaultSearchOptions: { limit: 100 }

  1. allDocsOnEmpty=true is now noDocumentsOnEmpty=false
  2. (And this is only a nice to have for noobs but) customising the search box eg:

    inputAttributes: () => {
          return {
            class: 'searchInput'
         };
    
      .searchInput{
          border: 2px solid #dddddd;
          border-radius: 6px;
          padding: 6px 8px 6px 8px;
       }

Just trying to help make it as absolutely as easy as possible for people to get the most from your package. That's all.