Created
August 15, 2017 20:43
-
-
Save anonymous/6282a42d5b8a6c1a07b3ba4d176721fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$configs = array( | |
'default' => array( // 'default' config | |
'engine' => 'coach_chats', // search engine to use (if SearchWP is available) | |
'input' => array( | |
'delay' => 500, // wait 500ms before triggering a search | |
'min_chars' => 3, // wait for at least 3 characters before triggering a search | |
), | |
'results' => array( | |
'position' => 'bottom', // where to position the results (bottom|top) | |
'width' => 'auto', // whether the width should automatically match the input (auto|css) | |
'offset' => array( | |
'x' => 0, // x offset (in pixels) | |
'y' => 5 // y offset (in pixels) | |
), | |
), | |
'spinner' => array( // powered by http://fgnass.github.io/spin.js/ | |
'lines' => 10, // number of lines in the spinner | |
'length' => 8, // length of each line | |
'width' => 4, // line thickness | |
'radius' => 8, // radius of inner circle | |
'corners' => 1, // corner roundness (0..1) | |
'rotate' => 0, // rotation offset | |
'direction' => 1, // 1: clockwise, -1: counterclockwise | |
'color' => '#000', // #rgb or #rrggbb or array of colors | |
'speed' => 1, // rounds per second | |
'trail' => 60, // afterglow percentage | |
'shadow' => false, // whether to render a shadow | |
'hwaccel' => false, // whether to use hardware acceleration | |
'className' => 'spinner', // CSS class assigned to spinner | |
'zIndex' => 2000000000, // z-index of spinner | |
'top' => '50%', // top position (relative to parent) | |
'left' => '50%', // left position (relative to parent) | |
), | |
)); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment