OptionalattrName: string
HTML attribute name. If omitted, defaults to the
setter property name (e.g. set title → 'title').
Converter for attribute string ↔ property value. Defaults to defaultConverter (auto-detects type).
Example:
@Attribute('dialog-title')
set title(value: string) { this.ajsData.title = value; }
@Attribute('l10n', expressionConverter)
set l10n(value: ((k: string) => string) | null) { ... }
Decorator factory: marks a setter as an attribute-binding.