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
import { LitElement, html } from 'lit-element'; | |
class SimpleGreeting extends LitElement { | |
constructor() { | |
super(); | |
this.model = { | |
currentThing: 'optionA', | |
things: [ 'optionA', 'optionB' ] | |
}; | |
} |
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> | |
<meta charset="UTF-8"> | |
<title>Test</title> | |
<script type="module"> | |
import {Theme} from "@spectrum-web-components/theme/lib/index"; | |
import {OverlayTrigger} from "@spectrum-web-components/overlay/lib/index"; | |
import {Popover} from "@spectrum-web-components/popover/lib/index"; | |
import {Button} from "@spectrum-web-components/button/lib/index"; |
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
#include <node.h> | |
#include <v8.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
using namespace v8; | |
Handle<Value> getRandomCoords2D(const Arguments& args) { | |
HandleScope scope; | |
OlderNewer