naive-ui/demo/documentation/components/element/enUS/index.md
2020-01-27 16:26:38 +08:00

399 B

Element

Element can be render as a custom tag with the ability of accessing some configurations provided by n-config-provider.

Demos

basic
color

Props

Name Type Default Description
as string 'div'

Slots

Name Parameters
default (theme, namespace, themeEnvironment, styleScheme)

Events

Name Parameters
theme-change (theme, oldTheme)