All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.polymer.mixins.HasLegacyDataMixin Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha2
Show newest version
package com.github.fluorumlabs.disconnect.polymer.mixins;

import com.github.fluorumlabs.disconnect.polymer.elements.mixins.LegacyDataMixin;
import com.github.fluorumlabs.disconnect.zero.component.Component;

/**
 * Mixin to selectively add back Polymer 1.x's undefined rules governing when observers & computing
 * functions run based on all arguments being defined (reference
 * https://www.polymer-project.org/1.0/docs/devguide/observers#multi-property-observers).
 * 

* When loaded, all legacy elements (defined with Polymer({...})) will have the mixin applied. The mixin * only restores legacy data handling if _legacyUndefinedCheck: true is set on the element's prototype. *

* This mixin is intended for use to help migration from Polymer 1.x to 2.x+ by allowing legacy code to work while * identifying observers and computing functions that need undefined checks to work without the mixin in Polymer 2. * * @param the type parameter * @param the type parameter */ @Deprecated public interface HasLegacyDataMixin> extends Component { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy