You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/api/classes/FieldMountable.md
+19-36Lines changed: 19 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ prev: false
5
5
title: "FieldMountable"
6
6
---
7
7
8
+
Defined in: [packages/core/src/fields/FieldMountable.ts:4](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L4)
Defined in: [packages/core/src/fields/FieldMountable.ts:9](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L9)
Defined in: [packages/core/src/fields/FieldMountable.ts:5](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L5)
88
86
89
87
## Methods
90
88
91
89
### getFilePath()
92
90
93
91
> **getFilePath**(): `string`
94
92
93
+
Defined in: [packages/core/src/fields/FieldMountable.ts:21](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L21)
Defined in: [packages/core/src/utils/Mountable.ts:22](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L22)
106
+
109
107
Get the element that the mountable is currently mounted to.
110
108
111
109
#### Returns
@@ -116,30 +114,26 @@ Get the element that the mountable is currently mounted to.
Defined in: [packages/core/src/fields/FieldMountable.ts:17](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L17)
Defined in: [packages/core/src/utils/Mountable.ts:15](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L15)
136
+
143
137
Check if the mountable is currently mounted.
144
138
145
139
#### Returns
@@ -150,16 +144,14 @@ Check if the mountable is currently mounted.
Defined in: [packages/core/src/utils/Mountable.ts:50](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L50)
154
+
163
155
Mount the mountable to the given element.
164
156
Will throw an error if the mountable is already mounted.
165
157
@@ -200,16 +192,14 @@ Will throw an error if the mountable is already mounted.
Defined in: [packages/core/src/utils/Mountable.ts:91](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L91)
202
+
213
203
Register a callback that will be called when the mountable is unmounted.
214
204
215
205
#### Parameters
@@ -249,18 +239,15 @@ Register a callback that will be called when the mountable is unmounted.
Defined in: [packages/core/src/utils/Mountable.ts:70](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L70)
249
+
262
250
Unmount the mountable from the current element.
263
-
Will throw an error if the mountable is not mounted.
264
251
265
252
#### Returns
266
253
@@ -269,7 +256,3 @@ Will throw an error if the mountable is not mounted.
0 commit comments