Skip to content

[docs] Property accessors #372

Closed

Description

See #286

  • ensure users understand that inclusion in properties is required to get LitElement's value-added features for properties (e.g. adding them to observedAttributes, pre-upgrade instance property handling, etc

  • noAccessor

  /**
   * Indicates whether an accessor will be created for this property. By
   * default, an accessor will be generated for this property that requests an
   * update when set. If this flag is `true`, no accessor will be created, and
   * it will be the user's responsibility to call
   * `this.requestUpdate(propertyName, oldValue)` to request an update when
   * the property changes.
   */
  noAccessor?: boolean;

Activity

  1. ghost
    self-assigned this
    on Dec 15, 2018
  2. Repository owner unassigned on Dec 18, 2018
  3. ghost closed this as completedin #380on Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions