书栈网 · BookStack 本次搜索耗时 0.018 秒,为您找到 70 个相关结果.
  • HTML elements as components

    535 2019-08-04 《Riot.js Manual》
    HTML elements as components HTML elements as components Standard HTML elements can be used as riot components in the page body with the addition of the is attribute. <ul is...
  • Basis

    746 2019-08-04 《Riot.js Manual》
    Basis Installation Usage Quick Start Basis Installation You can install riot via npm: npm i - S riot Or via yarn yarn add riot Usage You can bundle you...
  • Plugins

    490 2019-08-04 《Riot.js Manual》
    Plugins Plugins Riot provides an easy way to upgrade its components. When a component is created it can be enhanced by the plugins registered via riot.install . // riot-observ...
  • Mounting

    729 2019-08-04 《Riot.js Manual》
    Mounting Accessing DOM elements How to use jQuery, Zepto, querySelector, etc. Contexted DOM query Properties State Riot component lifecycle Lifecycle callbacks Mounting ...
  • 8. 移动单页面应用

    移动单页面应用 移动设备处理 前后端分离 Riot.js ReactiveJS构建服务 创建博客列表页 博客详情页 添加导航 移动单页面应用 为了实现在移动设备上的访问,这里就以riot.js为例做一个简单的Demo。不过,首先我们需要在后台判断用户是来自于某种设备,再对其进行特殊的处理。 移动设备处理 幸运的是我们又找到了一个库...
  • Introduction

    525 2019-08-04 《Riot.js Manual》
    Introduction Introduction Custom tags need to be transformed to javascript before the browser can execute them.The riot compiler is designed to transform riot tags into javascr...
  • Component Syntax and API

    828 2019-08-04 《Riot.js Manual》
    Component Syntax and API The script tag Template shortcuts Observable Opts vs props and state Refs attributes Parent and children Custom events dispatching Virtual tags Yie...
  • CLI

    592 2019-08-04 《Riot.js Manual》
    CLI Installation Components registration CLI The new CLI is much more powerful than the older one since it can compile single tags but it can also bundle your entire Riot.js ...
  • Live Examples

    Live Examples Next release Current release 5.1 3.4 3.3 Live Examples Next release React Official Vue Angular Polymer Mithril Marko HTML Svelte Riot Ember Prea...
  • Syntax

    521 2019-08-04 《Riot.js Manual》
    Syntax Syntax A Riot component is a combination of layout (HTML) and logic (javascript). Here are the basic rules: Each .riot file can contain the logic for only a single co...