@microsoft/fast-element > attr
attr() function
Decorator: Specifies an HTML attribute.
Signature:export declare function attr(config?: DecoratorAttributeConfiguration): (target: {}, property: string) => void;
Parameters
Parameter | Type | Description |
---|---|---|
config | DecoratorAttributeConfiguration | The configuration for the attribute. |
(target: {}, property: string) => void