UNPKG

@nativescript-community/ui-material-ripple

Version:

The Material Design Ripple component provides a radial action in the form of a visual ripple expanding outward from the user's touch. Ripple is a visual form of feedback for touch events providing users a clear signal that an element is being touched.

35 lines (31 loc) 1.85 kB
import * as i0 from '@angular/core'; import { Directive, NgModule } from '@angular/core'; import { registerElement } from '@nativescript/angular'; import { Ripple } from '@nativescript-community/ui-material-ripple'; class MaterialRippleDirective { static ɵfac = function MaterialRippleDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MaterialRippleDirective)(); }; static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MaterialRippleDirective, selectors: [["MDRipple"]] }); } (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaterialRippleDirective, [{ type: Directive, args: [{ selector: 'MDRipple' }] }], null, null); })(); class NativeScriptMaterialRippleModule { static ɵfac = function NativeScriptMaterialRippleModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeScriptMaterialRippleModule)(); }; static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NativeScriptMaterialRippleModule }); static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({}); } (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeScriptMaterialRippleModule, [{ type: NgModule, args: [{ declarations: [MaterialRippleDirective], exports: [MaterialRippleDirective], }] }], null, null); })(); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NativeScriptMaterialRippleModule, { declarations: [MaterialRippleDirective], exports: [MaterialRippleDirective] }); })(); registerElement('MDRipple', () => Ripple); /** * Generated bundle index. Do not edit. */ export { MaterialRippleDirective, NativeScriptMaterialRippleModule }; //# sourceMappingURL=nativescript-community-ui-material-ripple-angular.mjs.map