MCPcopy
hub / github.com/fabricjs/fabric.js / get

Method get

src/CommonMethods.ts:59–61  ·  view source on GitHub ↗

* Basic getter * @param {String} property Property name * @return {*} value of a property

(property: string)

Source from the content-addressed store, hash-verified

57 * @return {*} value of a property
58 */
59 get(property: string): any {
60 return this[property as keyof this];
61 }
62}

Callers 15

toggleMethod · 0.95
line.jsFile · 0.80
canvas.jsFile · 0.80
rect.jsFile · 0.80
polyline.jsFile · 0.80
image.jsFile · 0.80
object.jsFile · 0.80
group.jsFile · 0.80
path.jsFile · 0.80
text.jsFile · 0.80
canvas_static.jsFile · 0.80
object_geometry.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected