mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
8657171471
The sticky header is currently disabled unconditionally and nothing is wired up, with placeholders for data and functionality which will be added in future. Bug: T289716 Change-Id: I16223ce849267e718aad22b8a24b2327332ac8b7
26 lines
542 B
JavaScript
26 lines
542 B
JavaScript
import template from '!!raw-loader!../includes/templates/StickyHeader.mustache';
|
|
import Icon from '!!raw-loader!../includes/templates/Icon.mustache';
|
|
|
|
const NO_ICON = {
|
|
icon: 'none',
|
|
class: 'sticky-header-icon'
|
|
};
|
|
|
|
const data = {
|
|
title: 'Audre Lorde',
|
|
heading: 'Introduction',
|
|
'primary-action': 'Primary action',
|
|
'is-visible': true,
|
|
'data-icon-start': NO_ICON,
|
|
'data-icon-end': NO_ICON,
|
|
'data-icons': [
|
|
NO_ICON, NO_ICON, NO_ICON, NO_ICON
|
|
]
|
|
};
|
|
|
|
export const STICKY_HEADER_TEMPLATE_PARTIALS = {
|
|
Icon
|
|
};
|
|
|
|
export { template, data };
|