Skip to main content
Version: 2.x

API Reference > @next-core/brick-kit > PropertyDeclaration > noAccessor

PropertyDeclaration.noAccessor property

Indicates whether an accessor will be created for this property. By default, an accessor will be generated for this property that requests an update when set. If this flag is true, no accessor will be created, and it will be the user's responsibility to call this.requestUpdate(propertyName, oldValue) to request an update when the property changes.

Signature:

readonly noAccessor?: boolean;