Options
All
  • Public
  • Public/Protected
  • All
Menu

This is a special version of inline element that identifies a section of an inline element We often have the need to cut an inline element in half and perform some operation only on half of an inline element i.e. users select only some text of a text node and apply format, in that case, format has to happen on partial of an inline element PartialInlineElement is implemented in a way that decorate another full inline element with its own override on methods like isAfter It also offers some special methods that others don't have, i.e. nextInlineElement etc.

Hierarchy

  • PartialInlineElement

Implements

Index

Constructors

constructor

Accessors

nextInlineElement

previousInlineElement

Methods

applyStyle

  • applyStyle(styler: (element: HTMLElement, isInnerNode?: boolean) => any): void

contains

getContainerNode

  • getContainerNode(): Node

getDecoratedInline

getEndPosition

getParentBlock

getStartPosition

getTextContent

  • getTextContent(): string

isAfter

isTextualInlineElement

  • isTextualInlineElement(): boolean

Generated using TypeDoc