static optionTypeForKey (key) {
        var type = InitialOptions.valForKeyAndField(key, 'type');
        if (!type) {
            type = 'text'; // default
        }
        return type;
    }
/**
     * Get question type for given question
     * @param {string} key indicates which options question to use
     */
Get question type for given question
@param {string} key indicates which options question to use
Get question type for given question @param { string } key indicates which options question to use
static optionTypeForKey (key) {
        var type = InitialOptions.valForKeyAndField(key, 'type');
        if (!type) {
            type = 'text'; 
        }
        return type;
    }
static optionTypeForKey ( key ) { var type = InitialOptions . valForKeyAndField ( key , 'type' ) ; if ( ! type ) { type = 'text' ; } return type ; }
Get question type for given question
 @param {string} key indicates which options question to use
Get question type for given question @param { string } key indicates which options question to use
// default