disablePin
Decorator that disables the pin functionality for a property in the inspector UI.
| Type | Name | Interface Description |
|---|---|---|
| Functions | disablePin(): (target: any, key: string) => any | • Function: Decorator that disables the pin functionality for a property in the inspector UI. When applied to a property, it prevents users from pinning that property to the component header. Can be used with or without parentheses. Returns Property decorator function when used with parentheses |
Example
@component()
export class MyComponent extends APJS.BasicScriptComponent {
@serializeProperty()
@disablePin()
public importantConfig: string = "critical setting";
@serializeProperty()
@disablePin
public temporaryValue: number = 0;
}