/**
  * @see \qtism\runtime\rendering\markup\xhtml\GraphicInteractionRenderer::appendAttributes()
  */
 protected function appendAttributes(DOMDocumentFragment $fragment, QtiComponent $component, $base = '')
 {
     parent::appendAttributes($fragment, $component, $base);
     $this->additionalClass('qti-selectPointInteraction');
     $fragment->firstChild->setAttribute('data-max-choices', $component->getMaxChoices());
     $fragment->firstChild->setAttribute('data-min-choices', $component->getMinChoices());
 }
 /**
  * @see \qtism\runtime\rendering\markup\xhtml\GraphicInteractionRenderer::appendAttributes()
  */
 protected function appendAttributes(DOMDocumentFragment $fragment, QtiComponent $component, $base = '')
 {
     parent::appendAttributes($fragment, $component, $base);
     $this->additionalClass('qti-graphicOrderInteraction');
     if ($component->hasMaxChoices() === true) {
         $fragment->firstChild->setAttribute('data-max-choices', $component->getMaxChoices());
     }
     if ($component->hasMinChoices() === true) {
         $fragment->firstChild->setAttribute('data-min-choices', $component->getMinChoices());
     }
 }
 /**
  * @see \qtism\runtime\rendering\markup\xhtml\GraphicInteractionRenderer::appendAttributes()
  */
 protected function appendAttributes(DOMDocumentFragment $fragment, QtiComponent $component, $base = '')
 {
     parent::appendAttributes($fragment, $component, $base);
     $this->additionalClass('qti-graphicGapMatchInteraction');
 }