Skip to content

Advice: Improve custom component structure #22

@nael94

Description

@nael94

I'd like to suggest to have Slots to pass parameters as <slot name="" value="" /> or <slot name=""></slot>. This mechanism is useful and more flexible to handle the passed data rather than passing it through attributes especially passing long texts and quotes symbols or even passing {!! function() !!} code.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions