toLegacyElementIfOptOut<T extends Element> method

T toLegacyElementIfOptOut <T extends Element>(
  1. T element
)

If a legacy library, return the legacy view on the element. Otherwise, return the original element.

Implementation

T toLegacyElementIfOptOut<T extends Element>(T element);