Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(router-link): removal of phone demo on v6 and v7 #2899

Merged
merged 2 commits into from
Apr 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions docs/api/router-link.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
title: "ion-router-link"
hide_table_of_contents: true
demoUrl: "/docs/demos/api/router-link/index.html"
demoSourceUrl: "https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api/router-link/index.html"
---
import TOCInline from '@theme/TOCInline';

import Props from '@ionic-internal/component-api/v7/router-link/props.md';
import Events from '@ionic-internal/component-api/v7/router-link/events.md';
Expand All @@ -22,23 +18,13 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill';

<EncapsulationPill type="shadow" />

<h2 className="table-of-contents__title">Contents</h2>

<TOCInline
toc={toc}
maxHeadingLevel={2}
/>



The router link component is used for navigating to a specified link. Similar to the browser's anchor tag, it can accept a href for the location, and a direction for the transition animation.

:::note
Note: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an `<a>` and `routerLink` with the Angular router.
:::



See the [Router](./router) documentation for more information.

## Properties
<Props />
Expand Down
11 changes: 2 additions & 9 deletions versioned_docs/version-v6/api/router-link.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
---
title: 'ion-router-link'
hide_table_of_contents: true
demoUrl: '/docs/demos/api/router-link/index.html'
demoSourceUrl: 'https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api/router-link/index.html'
---

import TOCInline from '@theme/TOCInline';

import Props from '@ionic-internal/component-api/v6/router-link/props.md';
import Events from '@ionic-internal/component-api/v6/router-link/events.md';
import Methods from '@ionic-internal/component-api/v6/router-link/methods.md';
Expand All @@ -26,16 +21,14 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill';

<EncapsulationPill type="shadow" />

<h2 className="table-of-contents__title">Contents</h2>

<TOCInline toc={toc} maxHeadingLevel={2} />

The router link component is used for navigating to a specified link. Similar to the browser's anchor tag, it can accept a href for the location, and a direction for the transition animation.

:::note
Note: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an `<a>` and `routerLink` with the Angular router.
:::

See the [Router](./router) documentation for more information.

## Properties

<Props />
Expand Down