nb-card
Properties and attributes
Section titled “Properties and attributes”| Name | Type | Default | Notes |
|---|---|---|---|
variant |
'primary' | 'accent' |
'primary' |
Reflected to the attribute |
const button = document.querySelector('nb-card')button.variant = 'accent'| Name | Type | Default | Notes |
|---|---|---|---|
variant |
'primary' | 'accent' |
'primary' |
Reflected to the attribute |
const button = document.querySelector('nb-card')button.variant = 'accent'