API Reference > @next-core/brick-kit > PropertyDeclaration > attribute
PropertyDeclaration.attribute property
Indicates how and whether the property becomes an observed attribute. If the value is false, the property is not added to observedAttributes. If true or absent, the lowercased property name is observed (e.g. fooBar becomes foobar). If a string, the string value is observed (e.g attribute: 'foo-bar').
Signature:
readonly attribute?: boolean | string;