11.0.0 • Published 1 year ago

@financial-times/n-eventpromo v11.0.0

Weekly downloads
41
License
ISC
Repository
github
Last release
1 year 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

1 year ago

10.0.7

1 year ago

10.0.5

2 years ago

10.0.6

2 years ago

10.0.1

3 years ago

11.0.0-beta.1

3 years ago

11.0.0-beta.2

3 years ago

10.0.0

3 years ago

9.0.0

3 years ago

8.0.0

3 years ago

7.1.1

4 years ago

7.1.0

4 years ago

7.0.2

4 years ago

7.0.1

4 years ago

7.0.0

4 years ago

6.1.0

5 years ago

6.0.0

5 years ago

6.0.0-beta.1

6 years ago

5.0.12

6 years ago

5.0.11

6 years ago

5.0.10

6 years ago

5.0.9

6 years ago

5.0.8

6 years ago

5.0.7

6 years ago

5.0.6

6 years ago

5.0.5

6 years ago

5.0.4

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

4.0.8

6 years ago

5.0.0-beta.4

7 years ago

5.0.0-beta.3

7 years ago

5.0.0-beta.2

7 years ago

5.0.0-beta.1

7 years ago

4.0.7

7 years ago

4.0.6

7 years ago

4.0.5

7 years ago

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.4.2

7 years ago

3.4.1

7 years ago

3.4.0

7 years ago

3.3.4

7 years ago

3.3.3

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.2

7 years ago

3.2.1

7 years ago

3.2.0

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago

0.0.1-beta.6

7 years ago

0.0.1-beta.5

7 years ago

0.0.1-beta.4

7 years ago

0.0.1-beta.3

7 years ago

0.0.1-beta.2

7 years ago

0.0.1-beta.1

7 years ago