MCPcopy
hub / github.com/impress/impress.js / selectOptionsHtml

Function selectOptionsHtml

js/impress.js:3908–3921  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3906 };
3907
3908 var selectOptionsHtml = function() {
3909 var options = '';
3910 for ( var i = 0; i < steps.length; i++ ) {
3911
3912 // Omit steps that are listed as hidden from select widget
3913 if ( hideSteps.indexOf( steps[ i ] ) < 0 ) {
3914 options = options + '<option value="' + steps[ i ].id + '">' + // jshint ignore:line
3915 (
3916 steps[ i ].title ? steps[ i ].title : steps[ i ].id
3917 ) + '</option>' + '\n';
3918 }
3919 }
3920 return options;
3921 };
3922
3923 var addNavigationControls = function( event ) {
3924 api = event.detail.api;

Callers 2

addNavigationControlsFunction · 0.70
impress.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected