PHP Classes

File: frontend/js/componentes/card.js

Recommend this page to a friend!
  Classes of Rodrigo Faustino   Micro-Blog   frontend/js/componentes/card.js   Download  
File: frontend/js/componentes/card.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Micro-Blog
Blog management system extensible with classes
Author: By
Last change:
Date: 2 days ago
Size: 460 bytes
 

Contents

Class file image Download
export const Card = { template: ` <div :class="['card', tipo]"> <img :src="dados.imagem" alt="Imagem do card"> <h3>{{ dados.titulo }}</h3> <p>{{ dados.descricao_breve }}</p> </div> `, props: { dados: { type: Object, required: true }, tipo: { type: String, required: false, default: 'postagem' } } };