refreshless-8.x-1.x-dev/components/page-transition/page-transition.component.yml

components/page-transition/page-transition.component.yml
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: RefreshLess page transitions
description: Transitions a page in and out during navigation.
props:
  type: object
  additionalProperties: false
  properties: {}
libraryOverrides:
  dependencies:
    - core/drupal
    - core/jquery
  css:
    component:
      # This is a fairly small CSS file so we can afford to exclude it from
      # aggregation so that we (hopefully) prevent flashes of unstyled overlay
      # when a new CSS aggregate is loaded.
      page-transition.css: { preprocess: false }
  js:
    page-transition.js:
      attributes: { defer: true }
      group:      refreshless
      preprocess: false

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc