# 组件开发
面向HTML的UI组件开发
# js 组件
若插件无需真正的返回值,你应该一直在插件函数的立即作用域中返回 this 关键字。
# 替换原生 alert, confirm 对象
# oa组件,回调函数
$('[name=interface_user_rtx]').memberInput({
  onInit:function(value){
    $document.on('blur', '.oaui_memberinput_editor', function() {
      // 必填提示隐藏
      if ($(this).find('.oaui_memberinput_member').length > 0) {
        $(this).closest('.form_group').find('.warning').remove()
      }
    })
  }
})
# 参考资料
← 设计模式 CKEditor 开发 →