Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (43 sloc) 1.62 KB

Advanced Searchbox

Web Component for Servoy NG Client

Website of component library:
http://dnauck.github.io/angular-advanced-searchbox/

Component Properties:

  • availableSearchParams: suggested input values
    • type: searchParam[], array of objects
    • default: none
// searchParam[] type definition
[
   {
      "key": "string",
      "name": "string",
      "placeholder": "string",
      "restrictToSuggestedValues": "boolean",
      "suggestedValues": "string[]",
      "allowMultiple": "boolean"
   }
]
  • disableTypeahead: enable/disable typeahead dropdown
  • crlfAction: Servoy form function for "Enter" key
    • type: function
    • default: -none-
  • parametersLabel: Label of suggested values
    • type: string
    • default: 'Suggestions'
  • placeholder: Placeholder in search box
    • type: string
    • default: 'Search...'

API:

  • keyUp: Fired on keyUp event
  • clearAllSearchParameters: Removes selected items
  • clearAvailableSearchParameters: Removes search parameters
  • getSearchParams: Returns selected items
  • setSearchParams: Assigns new search parameters

License

All source code in the repository is licensed under a dual license. To use these components and services in your commercial or corporate internal projects, please contact sales@itechpros.com for licensing costs and information.

© iTech Professionals, Inc. http://itechpros.com

You can’t perform that action at this time.