Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SfMarkupGeneratorComponent

API reference for SfMarkupGeneratorComponent

import {SfMarkupModule} from "@progress/sitefinity-component-framework";


selector: sf-markup-generator

Hierarchy

  • SfMarkupGeneratorComponent

Implements

  • OnChanges

Index

Properties

Private classesCache

classesCache: Map<ContentChunk, object> = new Map<ContentChunk, object>()

A map, containing the css classes for particular chunk

markupModel

markupModel: MarkupSection[] = []

The markup structure, which will be displayed as text, as a list or as a various chunk representations

markupTypes

markupTypes: object = markupTypes

All markup types

Type declaration

Methods

getClasses

  • Gets the chunk css classes from the cache

    Parameters

    Returns object

Private initClasses

  • initClasses(): void
  • Sets the css classes for each chunk, depending on the markupModel

    Returns void

ngOnChanges

  • ngOnChanges(changes: SimpleChanges): void
  • Parameters

    • changes: SimpleChanges

    Returns void

Private setClasses

  • Sets the css classes for each chunk (depending on the chuck presentation property) and preserves them in the cache

    Parameters

    Returns void

Generated using TypeDoc