naive-ui/demo/documentation/components/element/enUS/index.demo-entry.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

489 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' The tag n-element should be rendered as.

Slots

Name Parameters Description
default (theme: string, namespace: string, themeEnvironment: any, styleScheme: Object)

Events

Name Parameters
theme-change (theme: string)