Implementation of the 'link' markup element. An a HTML element is created and the given attributes for href and target are taken over from the markup. The class lto-link is added to allow CSS manipulations.

see

  IRenderable

### Hierarchy

- Link

### Implements

- IRenderable

## Index

### Constructors

- constructor

### Properties

- spec

### Methods

- render
- decode

## Constructors

### constructor

- new Link(spec: ISpecification): Link

- - Defined in lib/renderable/link/index.ts:14

  #### Parameters

  - ##### spec: ISpecification

  #### Returns Link

## Properties

### Private spec

spec: ISpecification

- Defined in lib/renderable/link/index.ts:14

## Methods

### render

- render(renderer: IRenderer, isNested: boolean): HTMLElement

- Implementation of IRenderable.render

  - Defined in lib/renderable/link/index.ts:23

  Renders an element

  #### Parameters

  - ##### renderer: IRenderer

  - ##### isNested: boolean

  #### Returns HTMLElement

  the element which was rendered

### Static Private decode

- decode(input: string): string

- - Defined in lib/renderable/link/index.ts:39

  #### Parameters

  - ##### input: string

  #### Returns string

Generated using TypeDoc