Files
fuelux/assets/js/search-examples.js
Stephen Williams ac6c6fa6d8 replace http references w/ https
(excludes *vendor*,*.yml,*.md)
2020-05-27 15:14:27 -04:00

25 lines
621 B
JavaScript

/*!
* JavaScript for Fuel UX's docs - Examples
* Copyright 2011-2014 ExactTarget, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see https://creativecommons.org/licenses/by/3.0/.
*/
define(function (require) {
var jquery = require('jquery');
require('bootstrap');
require('fuelux');
// SEARCH
$('#mySearch').on('searched', function (e, text) {
alert('Searched: ' + text);
});
$('#btnSearchDisable').on('click', function () {
$('#mySearch').search('disable');
});
$('#btnSearchEnable').on('click', function () {
$('#mySearch').search('enable');
});
});