UNPKG

@ebolanos/libreria-boton

Version:

Libreria de prueba para publicación en npmjs

2 lines • 2.21 kB
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@ebolanos/libreria-boton",["exports","@angular/core"],o):o((e.ebolanos=e.ebolanos||{},e.ebolanos["libreria-boton"]={}),e.ng.core)}(this,function(e,o){"use strict";var n=(r.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],r.ctorParameters=function(){return[]},r.ngInjectableDef=o.defineInjectable({factory:function(){return new r},token:r,providedIn:"root"}),r);function r(){}var t=(a.prototype.ngOnInit=function(){console.log("Soy un fix")},a.decorators=[{type:o.Component,args:[{selector:"lib-libreria-boton",template:'<button id="btn4" class="btn btn-material" type="button">{{nombre}}</button>\r\n',styles:[".btn{font-family:inherit;font-size:inherit;line-height:inherit;-webkit-appearance:none;-moz-appearance:none;border:none;background:0 0;cursor:pointer;padding:0;display:inline-block;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle}.btn-material{padding:0 16px;border-radius:2px;background-color:#a71717;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);color:#fff;transition:background-color 15ms linear,box-shadow 280ms cubic-bezier(.4,0,.2,1);height:36px;line-height:2.25rem;font-family:Roboto,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase}.btn-material:focus,.btn-material:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#ff0303}.btn-material:active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);background-color:#610404}"]}]}],a.ctorParameters=function(){return[]},a.propDecorators={nombre:[{type:o.Input}]},a);function a(){}i.decorators=[{type:o.NgModule,args:[{declarations:[t],imports:[],exports:[t]}]}],o=i;function i(){}e.LibreriaBotonService=n,e.LibreriaBotonComponent=t,e.LibreriaBotonModule=o,Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=ebolanos-libreria-boton.umd.min.js.map