Skip to content

Latest commit

 

History

History
27 lines (27 loc) · 932 Bytes

File metadata and controls

27 lines (27 loc) · 932 Bytes

Methods Exposed to Extensions

The following methods are shared between Sibmei and extensions. For further information and usage examples see the extension API documentation.

api.AddAttribute(element, attrname, attrval)
api.AddChild(element, child)
api.AddChildAtPosition(element, child, position)
api.AppendToMeasure(element)
api.CreateElement(tagname)
api.GenerateControlEvent(bobj, element)
api.GenerateModifier(bobj, element)
api.GetAttribute(element, attrname)
api.GetAttributes(element)
api.GetChildren(element)
api.GetElementById(id)
api.GetId(element)
api.GetName(element)
api.GetTail(element)
api.GetText(element)
api.MeiFactory(data, bobj)
api.RemoveAttribute(element, attrname)
api.RemoveChild(element, child)
api.SetId(element, newId)
api.SetTail(element, val)
api.SetText(element, val)
api.XMLComment(comment)