Options
All
  • Public
  • Public/Protected
  • All
Menu

使用SearchUI/Tombstone组件实现的的SkeletonAppearance

example

require([
 'ralltiir-skeleton',
 'ralltiir-skeleton-tombstone',
 'Atom',
 'search-ui/v2/Tombstone/Tombstone',
 'search-ui/v2/Tombstone/ImgTombstone.css'
], function(Skeleton, Tombstone, Atom, TombstoneUI) {
     var appearance = new Tombstone.SearchTombstone({
       Atom: Atom,
       TombstoneUI: TombstoneUI
     });
     skeleton = new Skeleton.Skeleton(container, appearance);
     skeleton.create();
});

Hierarchy

  • SearchTombstone

Implements

  • any

Index

Constructors

Methods

Constructors

constructor

Methods

destroy

  • destroy(): void
  • Returns void

render

  • render(options: SkeletonAppearanceOptions): HTMLElement
  • Parameters

    • options: SkeletonAppearanceOptions

    Returns HTMLElement