Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support :is prop so we can change html tags#234

gregg-cbs started this conversation inIdeas
Discussion options

Does this library support the ability to change html tags of components?

For example I am using the accordion with aulli list but the accordion tags are alwaysdiv's ... how do update the accordion html output to be aul element instead of adiv?

Vue has the<component :is="ul"> capability. I am thinking you would need to incorporate this into your components:

<component :is="$props.is || 'div'"></component>
You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Ideas
Labels
None yet
1 participant
@gregg-cbs

[8]ページ先頭

©2009-2025 Movatter.jp