11.0.0 • Published 12 days ago

@financial-times/n-eventpromo v11.0.0

Weekly downloads
41
License
ISC
Repository
github
Last release
12 days ago

n-eventpromo

Eventpromo is used to promote content from live.ft.com.

Installation

This module is compatible with Node 6+ and is distributed on npm.

npm install --save @financial-times/n-eventpromo @financial-times/x-engine

This module also requires x-engine as a peer dependency. The Engine module is used to inject your chosen runtime into the component. Please read the x-engine documentation first if you are consuming x- components for the first time in your application.

Usage

This module is used by n-magnet.

With react

import React from 'react';
import { Eventpromo } from '@financial-times/x-eventpromo';

// A == B == C
const a = Eventpromo(props);
const b = <Eventpromo {...props} />;
const c = React.createElement(Eventpromo, props);

All x- components are designed to be compatible with a variety of runtimes, not just React. Check out the x-engine documentation for a list of recommended libraries and frameworks.

Properties

If not marked optional, fields require non-empty values.

PropertyTypeNotes
isPausedBooleanControl animation state on load
datesStringFree text, can be either a specific date or a date range
idStringEventpromo id, 32 chars
imagesString[]3 image urls, will be passed to origami image service
linkStringEventpromo url, should include segmentId
locationStringNo set format: "London", "New York", "ExCeL London", etc
straplineString
titleString
11.0.0

12 days ago

10.0.7

3 months ago

10.0.5

6 months ago

10.0.6

6 months ago

10.0.1

1 year ago

11.0.0-beta.1

2 years ago

11.0.0-beta.2

2 years ago

10.0.0

2 years ago

9.0.0

2 years ago

8.0.0

2 years ago

7.1.1

3 years ago

7.1.0

3 years ago

7.0.2

3 years ago

7.0.1

3 years ago

7.0.0

3 years ago

6.1.0

4 years ago

6.0.0

4 years ago

6.0.0-beta.1

4 years ago

5.0.12

5 years ago

5.0.11

5 years ago

5.0.10

5 years ago

5.0.9

5 years ago

5.0.8

5 years ago

5.0.7

5 years ago

5.0.6

5 years ago

5.0.5

5 years ago

5.0.4

5 years ago

5.0.3

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

4.0.8

5 years ago

5.0.0-beta.4

5 years ago

5.0.0-beta.3

5 years ago

5.0.0-beta.2

6 years ago

5.0.0-beta.1

6 years ago

4.0.7

6 years ago

4.0.6

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.4.2

6 years ago

3.4.1

6 years ago

3.4.0

6 years ago

3.3.4

6 years ago

3.3.3

6 years ago

3.3.2

6 years ago

3.3.1

6 years ago

3.3.0

6 years ago

3.2.2

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago

0.0.1-beta.6

6 years ago

0.0.1-beta.5

6 years ago

0.0.1-beta.4

6 years ago

0.0.1-beta.3

6 years ago

0.0.1-beta.2

6 years ago

0.0.1-beta.1

6 years ago