The Wayback Machine - https://web.archive.org/web/20200901024230/https://github.com/topics/component
Skip to content
#

component

Here are 3,702 public repositories matching this topic...

a616781689
a616781689 commented Nov 28, 2019

看了fish-redux的todoList demo,发现里面连接全局状态的方法是使用visitor

visitor: (String path, Page<Object, dynamic> page) {
      /// 只有特定的范围的 Page 才需要建立和 AppStore 的连接关系
      /// 满足 Page<T> ,T 是 GlobalBaseState 的子类
      if (page.isTypeof<GlobalBaseState>()) {
        /// 建立 AppStore 驱动 PageStore 的单向数据连接
        /// 1. 参数1 AppStore
        /// 2. 参数2 当 AppStore.state 变化时, PageStore.state 该如何变化
     
jsinhSolanki
jsinhSolanki commented Jan 17, 2019

Hey, I am using tooltip in my navbar and I have two layout.

  1. With navbar
  2. No Navbar

I have button in navbar which navigates to another layout which dont have any navbar.(So, when I click on btn, btn it self and navbar gets destroyed). But that tooltip which I used on button still remain.

i have created simillar demo for you.
jsfiddle

Improve this page

Add a description, image, and links to the component topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the component topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.