#

#

Property Attribute Type Default Description
bind bind "undefined"
data data "undefined" Data of the element. Setting this will emit an input event automatically.
datatype datatype string | undefined An internal representation of type to handle serializing
disabled disabled boolean false
isMbElement boolean true
label label string | undefined Optional label for the element
path path string Path of the data element. Use the VSCode extension to get the appropriate paths

#

Method Type Description
handlePathChange (oldPath: string, newPath: string): void
reportValidity (): boolean Function to validate the element during form submit

#

Event Description
mb-connect Dispatched when the component connects
mb-dependency Dispatched if dependencies are needed from an external or parent source
mb-disconnect Dispatched when the component disconnects
mb-input Dispatched when the input changes
Save lives with digital healthcare innovation
© 2024 Mediblocks. All rights reserved.