diff --git a/README.md b/README.md index 4c716c02..5b72c167 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,9 @@ Collection object shown with defaults: // when the spacebar is hit, select the current match spaceSelectsMatch: false, + // turn tribute into an autocomplete + autocompleteMode: false, + // Customize the elements used to wrap matched strings within the results list // defaults to if undefined searchOpts: { diff --git a/bower.json b/bower.json index 70ae3f13..f7c410d2 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "tribute", "description": "Native ES6 @mentions", - "version": "3.5.3", + "version": "3.6.0", "main": [ "dist/tribute.js", "dist/tribute.css" diff --git a/package.json b/package.json index d57a2187..3ee1c18e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tributejs", - "version": "3.5.3", + "version": "3.6.0", "description": "Native ES6 @mentions", "main": "dist/tribute.js", "types": "tributejs.d.ts", diff --git a/tributejs.d.ts b/tributejs.d.ts index ac80398d..c9e1ed12 100644 --- a/tributejs.d.ts +++ b/tributejs.d.ts @@ -1,4 +1,4 @@ -// Type definitions for TributeJS v3.5.3 +// Type definitions for TributeJS v3.6.0 // Project: https://github.com/zurb/tribute // Definitions by: Jordan Humphreys @@ -53,6 +53,9 @@ export type TributeCollection = { //specify whether the menu should be positioned positionMenu?: boolean + + //specify whether to put Tribute in autocomplete mode + autocompleteMode?: boolean } export type TributeOptions = TributeCollection | {