From bbfea90507afc53754e394db438cfde1136eca50 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Fri, 7 Apr 2017 12:53:11 -0700 Subject: [PATCH] Fix readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4daca2f9c8..52bb45ab54 100644 --- a/README.md +++ b/README.md @@ -486,7 +486,7 @@ configure the module name. The only supported declarative way set the module id is to use `id`. * `element.getPropertyInfo`: This api returned unexpected information some of the time and was rarely used. * `element.getNativePrototype`: Removed because it is no longer needed for internal code and was unused by users. -* `element.beforeRegister`: This was originally added for metadata compatibility with ES6 classes. We now prefer users create ES6 classes by extending `Polymer.Element`, specifying metadata in the static `config` property. For legacy use via `Polymer({...})`, dynamic effects may still be added by using `beforeRegister` but it is now equivalent to the `registered` lifecycle method. An element's `is` property cannot be set in `beforeRegister` as it could in Polymer 1.x. +* `element.beforeRegister`: This was originally added for metadata compatibility with ES6 classes. We now prefer users create ES6 classes by extending `Polymer.Element`, specifying metadata in the static `properties`, `observers`, and `is` properties. For legacy use via `Polymer({...})`, dynamic effects may still be added by using `beforeRegister` but it is now equivalent to the `registered` lifecycle method. An element's `is` property cannot be set in `beforeRegister` as it could in Polymer 1.x. * `element.attributeFollows`: Removed due to disuse. * `element.classFollows`: Removed due to disuse. * `element.copyOwnProperty`: Removed due to disuse.