Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Add createAdapter to other components? #728

@skleeschulte

Description

@skleeschulte

I see that the ripple component has a createAdapter method which returns the default adapter implementation. In the React framework example, it is used as a 'base' adapter, and only some of the adapter methods are changed for the React integration. I think it would be helpful to have some way to get the default adapter of every component. In my case for example, if it was possible to get the default toolbar adapter, I would not have to re-implement the adapter methods registerScrollHandler, deregisterScrollHandler, registerResizeHandler, deregisterResizeHandler, getViewportWidth and getViewportScrollY.

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