Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GlobalMixin

Hierarchy

  • TagMixin
    • GlobalMixin

Index

Properties

Methods

Properties

Optional shouldUpdate

shouldUpdate: boolean | ShouldUpdateFunction

The function to use when determining if a component should update.

  • If true, use the function provided by StoreFront, which allows a component to update only if its props, state or aliases have changed.
  • If false, do not use a shouldUpdate function. Components will always update.
  • If a function is provided, use the given function.

Methods

Optional init

  • init(this: TagInterface): void
  • Special method which can initialize the mixin when it's loaded to the tag. This method is not accessible from the tag its mixed in

    Parameters

    • this: TagInterface

    Returns void

Generated using TypeDoc