Lines Matching refs:SearchPad

56813 	function SearchPad(canvas, eventBus, overlays, selection) {  class
56824 this._container = domify(SearchPad.BOX_HTML);
56825 this._searchInput = query(SearchPad.INPUT_SELECTOR, this._container);
56826 this._resultsContainer = query(SearchPad.RESULTS_CONTAINER_SELECTOR, this._container);
56836 SearchPad.$inject = [
56847 SearchPad.prototype._bindEvents = function() {
56865 listen(this._container, SearchPad.INPUT_SELECTOR, 'click', function(e) {
56871 listen(this._container, SearchPad.RESULT_SELECTOR, 'mouseover', function(e) {
56878 listen(this._container, SearchPad.RESULT_SELECTOR, 'click', function(e) {
56885 listen(this._container, SearchPad.INPUT_SELECTOR, 'keydown', function(e) {
56899 listen(this._container, SearchPad.INPUT_SELECTOR, 'keyup', function(e) {
56938 SearchPad.prototype._unbindEvents = function() {
56950 SearchPad.prototype._search = function(pattern) {
56977 var node = query(SearchPad.RESULT_SELECTOR, this._resultsContainer);
56987 SearchPad.prototype._scrollToDirection = function(previous) {
57006 SearchPad.prototype._scrollToNode = function(node) {
57027 SearchPad.prototype._clearResults = function() {
57043 SearchPad.prototype._getCurrentResult = function() {
57044 return query(SearchPad.RESULT_SELECTED_SELECTOR, this._resultsContainer);
57060 SearchPad.prototype._createResultNode = function(result, id) {
57061 var node = domify(SearchPad.RESULT_HTML);
57065 createInnerTextNode(node, result.primaryTokens, SearchPad.RESULT_PRIMARY_HTML);
57069 createInnerTextNode(node, result.secondaryTokens, SearchPad.RESULT_SECONDARY_HTML);
57071 attr$1(node, SearchPad.RESULT_ID_ATTRIBUTE, id);
57087 SearchPad.prototype.registerProvider = function(provider) {
57095 SearchPad.prototype.open = function() {
57119 SearchPad.prototype.close = function() {
57144 SearchPad.prototype.toggle = function() {
57152 SearchPad.prototype.isOpen = function() {
57162 SearchPad.prototype._preselect = function(node) {
57172 classes$1(selectedNode).remove(SearchPad.RESULT_SELECTED_CLASS);
57175 var id = attr$1(node, SearchPad.RESULT_ID_ATTRIBUTE);
57178 classes$1(node).add(SearchPad.RESULT_SELECTED_CLASS);
57195 SearchPad.prototype._select = function(node) {
57196 var id = attr$1(node, SearchPad.RESULT_ID_ATTRIBUTE);
57217 SearchPad.prototype._resetOverlay = function(element) {
57253 html: '<div style="' + styles + '" class="' + SearchPad.OVERLAY_CLASS + '"></div>'
57284 …htmlText += '<strong class="' + SearchPad.RESULT_HIGHLIGHT_CLASS + '">' + escapeHTML(t.matched) + …
57297 SearchPad.CONTAINER_SELECTOR = '.djs-search-container';
57298 SearchPad.INPUT_SELECTOR = '.djs-search-input input';
57299 SearchPad.RESULTS_CONTAINER_SELECTOR = '.djs-search-results';
57300 SearchPad.RESULT_SELECTOR = '.djs-search-result';
57301 SearchPad.RESULT_SELECTED_CLASS = 'djs-search-result-selected';
57302 SearchPad.RESULT_SELECTED_SELECTOR = '.' + SearchPad.RESULT_SELECTED_CLASS;
57303 SearchPad.RESULT_ID_ATTRIBUTE = 'data-result-id';
57304 SearchPad.RESULT_HIGHLIGHT_CLASS = 'djs-search-highlight';
57305 SearchPad.OVERLAY_CLASS = 'djs-search-overlay';
57307 SearchPad.BOX_HTML =
57315 SearchPad.RESULT_HTML =
57318 SearchPad.RESULT_PRIMARY_HTML =
57321 SearchPad.RESULT_SECONDARY_HTML =
57329 searchPad: [ 'type', SearchPad ]