Custom Feature [Draft]
Examples
{
"feature_id": "70010",
"type": "customfeature",
"js": "//docs.learnosity.com/demos/products/questionsapi/customfeatures/textinput/index.js",
"css": "//docs.learnosity.com/demos/products/questionsapi/customfeatures/textinput/index.css",
"placeholder": "Placeholder text"
}
Attributes
-
type string
Must be set to
"customfeature"
.Default:
"customfeature"
-
custom_type string
A key that identifies this custom Feature type.
-
js string
A URL to a JavaScript file which defines an AMD module for the Feature.
See Creating Custom Features for more information.
-
version string
A number that identifies the version of the Feature e.g.
v0.1.0
. -
css string
A URL to a CSS file containing styles for the Feature.