{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see . }} {{! @template core/comboboxsearch Combobox search selector dropdown. Context variables required for this template: * rtl - Is this dropdown being used in a RTL case? if so, we need to ensure it drops down in the right place. * renderlater - This determines if we show a placeholder whilst fetching content to replace within the placeholder region * buttoncontent - The string to be shown to users to trigger the dropdown * usebutton - If we want to use a button to trigger the dropdown, or just the dropdown itself * dropdowncontent - If rendering now, The content within the dropdown * parentclasses - Our class for the DOM Node that the default bootstrap dropdown events are tagged onto * buttonclasses - If you want special handling add classes here * dropdownclasses - If you want special handling or sizing etc add classes here * instance - The instance ID of the tertiary navigation dropdown Example context (json): { "rtl": false, "renderlater": false, "usebutton": true, "buttoncontent": "Example dropdown button", "dropdowncontent": "Some body content to render right now", "parentclasses": "my-dropdown", "buttonclasses": "my-button", "dropdownclasses": "my-cool-dropdown", "instance": 25 } }} {{#buttonheader}} {{.}} {{/buttonheader}}