UNPKG

oraclejet-demo-card-vdom

Version:
72 lines 1.84 kB
{ "name": "oraclejet-demo-card-vdom", "version": "1.0.0", "jetVersion": "14.0.5", "type": "composite", "implements": [ "DemoCardVdomElement" ], "properties": { "message": { "type": "string" }, "avatar": { "type": "string" }, "name": { "type": "string" }, "email": { "type": "string" }, "workTitle": { "type": "string" }, "workNumber": { "type": "number" } }, "methods": { "setProperty": { "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.", "help": "#setProperty", "params": [ { "name": "property", "description": "The property name to set. Supports dot notation for subproperty access.", "type": "string" }, { "name": "value", "description": "The new value to set the property to.", "type": "any" } ], "return": "void" }, "getProperty": { "description": "Retrieves the value of a property or a subproperty.", "help": "#getProperty", "params": [ { "name": "property", "description": "The property name to get. Supports dot notation for subproperty access.", "type": "string" } ], "return": "any" }, "setProperties": { "description": "Performs a batch set of properties.", "help": "#setProperties", "params": [ { "name": "properties", "description": "An object containing the property and value pairs to set.", "type": "object" } ], "return": "void" } } }