iRc_item-class: Class iRc_item

Description Details Slots

Description

Objects of this class represent one item in a iRcotofun game. They are combined to a category in objects of class iRc_Category. To freate items, use the function ask.

Details

Both slots must be named character strings (or vectors). Currently these names are supported:

text:

The value will be pasted as-is to the HTML document.

img:

The value will be treated as the relative path to an image.

html:

The value must be a XiMpLe.node object.

Slots

question

Named list to be used as the question. See details for valid names.

answer

Named list to be used as the answer. See details for valid names.


unDocUMeantIt/iRcotofun documentation built on May 3, 2019, 2:24 p.m.