QuestionOption
This class models an option of a QuestionSlide.
/**
* Returns the option Id.
*
* @returns {*}
*/
getId()
/**
* Returns the option title.
*
* @returns {string}
*/
getTitle()
/**
* Returns true if this option has been linked to this slide help slide.
*
* @returns {boolean}
*/
isHelp()
/**
* Returns true if this option has help information.
*/
hasHelp()
/**
* Returns the help information associated to this option.
*/
getHelp()
/**
* Returns true if this option should be hidden.
*
* @returns {booelan}
*/
isHidden()
/**
* Returns true if this option is selectable (not atrophied), so it will lead to results.
*
* @returns {boolean}
*/
isDisabled()
/**
* Sets the option as selected or unselected.
*
* @param selected boolean
*/
setSelected(selected)
/**
* Returns true if this option is selected.
* @returns {boolean}
*/
isSelected()
/**
* Returns true if this option has a defined image.
*
* @returns {boolean}
*/
hasImage()
/**
* Returns the image defined.
*
* @returns {string}
*/
getImage()
/**
* Returns an object with the option metadata
* @returns Object
*/
getMeta()
Last updated