这是indexloc提供的服务,不要输入任何密码
Skip to content

Implementing a tabbed UI component #4771

@senthilp

Description

@senthilp

Is there a way to achieve tabbed UI with the current set of AMP components? We have UI like below

image

The content for all the tabs are already available in the initial markup. In non-AMP scenario we will just use JS to hide/show the tabs. How should we do it for AMP? One option is to do a full page refresh when users click on a tab, the resulting page will have the corresponding tab opened. Is there a way to do it without a full page refresh?

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions