Skip to content

Scoped css for dynamic element #1033

@anit05

Description

@anit05

Hi
I am trying to implement Vuetable2 using render functions which creates it dynamically.It has specific css requirement.
When i import css in component like

<style src="src" ></style>, it works fine for my datatable.

However ,when i load css like

<style src="src" scoped></style>,

it does not apply to some of the parts that are being created dynamically.

I understand that making css scope adds a unique identification( that is scopeId) with css as well as static content present on the page.
I want to know how to associate this scopeId with dynamically created contents as well.
What are the ways i can achieve this.

Please let me know whether it is clear what i want to achieve or further information is required.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions