A Simple Angular Component That Allows You To Create A Portfolio

ng-portfolio is a simple angular component that allows you to create a Portfolio, just passing configs.

angular developer portfolio, angular portfolio example, angular portfolio github, free angular portfolio template, kendo grid angular codepen, angular project ideas for portfolio

How to make use of it:

Installation:

<ng-portfolio items="items" areas="areas" generic-config="genericConfig"></ng-portfolio>

Configuration for angular-portfolio directive or element:

[
     {
         //VALUE OPTIONS
           //base usage
         "value": "value to be showed",
           //Use %i% as a placeholder to set in your value, icons
           //i suggest to use font-awesome as icon library
         "value": "this string will contain an icon here --> %i%",
           //to set icon class, it becomes: " string.. <i class="fa fa-html5"></i>"
         "icon": "fa fa-html5",
         
         //FONT
           //To use font-family(css attribute) import a font in your css
           //example: @import url("https://fonts.googleapis.com/css?family=Audiowide");
         "font": "'Audiowide', cursive",
           //font dimension
         "fontSize": "0.8em",
         
         //IMAGE
         "image": "./imgs/hamburg.jpg",
           //SHADE IMAGE
         "shadeFocus": true,
         
         //ZOOM OPTIONS
           //to set zoom operation on item
         "focusScale": 1.6,
           //to set the zoom center, 50% 50% is default (item center)
         "focusCenter": "50% 50%",
         
         //BACKGROUND OPTIONS
           //set text color
         "textColor": "#f96855",
           //set background color
         "backgroundColor": "#FFFA5C",
         
         //HOVER OPTIONS
           //on hover set text color
         "hoverTextColor": "#f96855",
           //on hover set background color
         "hoverBackgroundColor": "#FFFA5C",
         
         //ANIMATIONS
           //set animation time on all properties
           //default for image: "0,5s" else is disabled
         "animationTime": "0.9s",
         
         //ID
           //All items have an id (html id)
           //by default items passed by "items" attribute are sequencially named as "item1", "item2", "item3" etc..
           //But you can override default configuration with:
         "id": "myId",
           //so, for example you can have "item1", "myId", "item3" (if you set id attribute on second items config)
           
          //SUBITEMS
           //In subitems you can set recoursive items configuration
         "subitems": [ 
               //items..
               {
                   "value": "%i%",
                   "icon": "fa fa-linkedin-square",
                   "fontSize": "1.2em"
                   //item attributes..
               },
               {
                   "id": "mySubId",
                   "subitems":[...]
               },
               ...
           ],
          //by default subitems are sequencially named as "(parent id)-sub1", "(parent id)-mySubId", "(parent id)-sub3" etc..
          
         //AREAS
           //look point 2 "areas"
         "areas":[
               ["item1", "item2", "item3"], 
               ["item1", "item2", "item3"]
          ]
           
         //GENERICCONFIG
           //look point 3 "generic-config"
         
         //CALLBACKS
           //use this sintax to pass a callback
           //in a configuration (object/json)
         "callback": {
               "name": "navigate",
               "params": ["http://www.hamburg.com/"]
         },
         "callback": function(..){....}
           //differences: 
           //To use "callback: function(){..}", you have to set callback with a function in your js, 
           //so you have to manipulate your config.
           //to use "callback: { name: "fn name", params: ["param1", "param2", etc..]}" you don't have to set any 
           //functions to your config, just set in your controller $scope (direct parent of this directive) your function, 
           //es: $scope.navifate = function(url){..};  
     }
   ]

configurable portfolio component, angular-portfolio Plugin/Github/Codepen


See Demo And Download

Official Website(marco-gonella): Click Here

This superior jQuery/javascript plugin is developed by marco-gonella. For extra advanced usage, please go to the official website.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…