Custom Feature Draft

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

    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 this knowledgebase article for more information.

  • css string

    A URL to a CSS file containing styles for the feature.

  • version string

    A number that identifies the version of the feature e.g. v0.1.0.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.