model.addDisplayAttribute

model.addDisplayAttribute(node, value)

Adds a named attribute, or a list of named attributes to the additional attributes displayed in a node view. Added attributes can be removed using model.removeDisplayAttribute.

Example usage is shown in adding custom attributes.

Was this page helpful? Yes No Submitting... Thank you

Comments