do in ready? • One-time initialization that requires access to statically-created local DOM and/or initial property values. • But remember, properties can change. (Spoiler alert: observers are your friends.)
children. • Access dynamically-created local DOM children created by a dom- repeat, or dom-if. • Measure the current element (or its local DOM children). • (Remember, the element might not be in the DOM tree yet.)
your light DOM children on demand. • If that doesn’t work: observeNodes gives you a callback when children are added or removed. • Remember to unobserveNodes in detached!