zoukankan      html  css  js  c++  java
  • 战五渣前端,面试第一天总结

    面试第一天,总结下碰到的不熟练的问题,备查:

    1. Ionic中,如何在切换tabs标签页面的时候,上一个页面填写的内容不消失(我之前的经验是,需要录入内容的页面,直接是全屏的,不允许tab切换,后咨询大神,推荐使用indexDB存储)
    2. 路由跳转,$sate.go() 和 $state.translateTo()的区别(摘自stackoverflow大意就是 前者底层调用的后者,推荐使用前者):

      $state.go(to [, toParams] [, options])

      Returns a Promise representing the state of the transition.

      Convenience method for transitioning to a new state. $state.go calls $state.transitionTo internally but automatically sets options to { location: true, inherit: true, relative: $state.$current, notify: true }. This allows you to easily use an absolute or relative to path and specify only the parameters you'd like to update (while letting unspecified parameters inherit from the current state).

      $state.transitionTo(to, toParams [, options])

      Returns a Promise representing the state of the transition.

      Low-level method for transitioning to a new state. $state.go() uses transitionTo internally. $state.go() is recommended in most situations.

    3. angular项目中脚本异步加载:异步加载使用script.js, angular-loader解决异步调用脚本的依赖关系问题, 在$script 的回调中 使用 angular.bootstrap(document, ['myApp']);
    4. angular项目中使用了哪些插件,其实侧重点不是使用了哪些,而是要强调angular不推荐DOM操作,不使用jQuery,也就是很多插件用不了
  • 相关阅读:
    【待补充】Spark 集群模式 && Spark Job 部署模式
    Spark 集群管理命令
    Spark job 部署模式
    [Spark Core] Spark 核心组件
    [Spark RDD_1] RDD 基本概念
    【读书笔记】《天才在左 疯子在右》
    [Spark Core] Spark 使用第三方 Jar 包的方式
    [Spark Core] 在 Spark 集群上运行程序
    【待补充】[Spark Core] Spark 实现标签生成
    Spark 集群搭建
  • 原文地址:https://www.cnblogs.com/NearTheSea/p/5339452.html
Copyright © 2011-2022 走看看