This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>TailwindCss</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<link rel="stylesheet" href="/dist/styles.css"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<v-app id="inspire"> | |
{{ likes }} | |
<div class="text-xs-center"> | |
<div> | |
<v-btn v-for="(like, index) in likes" :key="index" flat icon color="blue lighten-2"> | |
<v-icon v-if="!itIsLiked(like)" @click="likeThis(like)">thumb_up</v-icon> | |
<span v-else @click="likeThis(like)">ok</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
type : "POST", | |
url : 'URL', | |
data : data, | |
dataType : 'json', | |
encode : true | |
}).done(function(data) { | |
$('.response').empty().append(JSON.stringify(data,null,2)) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Tests\Unit; | |
use Tests\TestCase; | |
/* | |
* Unsets properties on (nested) objects. | |
* | |
* @param object $object | |
* @param string $property | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<div class="flex flex-col"> | |
<label>Account :</label> | |
<button class="input" @click="open"> | |
<span v-show="value !== ''" class="float-left text-dark"> {{ value }}</span> | |
<span v-show="value == ''" class="float-left text-grey">Select an account ...</span> | |
</button> | |
</div> | |
<!-- @focusout="Close" --> |
NewerOlder