MetadataTypeManager
Extends
Properties
_
_:
Record
<string
,EventsEntry
[]>
Inherited from
app
app:
App
Reference to App
onConfigFileChange
properties
properties:
MetadataTypeManagerPropertiesRecord
Registered properties of the vault
types
Associated widget types for each property
Methods
getAllProperties()
getAllProperties():
Record
<string
,PropertyInfo
>
Get all registered properties of the vault
Returns
Record
<string
, PropertyInfo
>
getAssignedType()
getAssignedType(
property
):any
Get assigned widget type for property
Parameters
• property: string
Returns
any
getPropertyInfo()
getPropertyInfo(
property
):PropertyInfo
Get info for property
Parameters
• property: string
Returns
getTypes()
getTypes():
string
[]
Get all properties with an assigned widget type
Returns
string
[]
off()
off(
name
,callback
):void
Parameters
• name: string
• callback
Returns
void
Inherited from
offref()
offref(
ref
):void
Parameters
• ref: EventRef
Returns
void
Inherited from
on()
on(
name
,callback
,ctx
?):EventRef
Parameters
• name: string
• callback
• ctx?: any
Returns
Inherited from
trigger()
trigger(
name
, …data
):void
Parameters
• name: string
• …data: unknown
[]
Returns
void
Inherited from
tryTrigger()
tryTrigger(
evt
,args
):void
Parameters
• evt: EventRef
• args: unknown
[]
Returns
void